element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[Component] [table-v2] Scrolling el-table-v2 is broken on mobile?

Open dmix opened this issue 2 years ago • 0 comments

Bug Type: Component

Environment

  • Vue Version: 3.2.39
  • Element Plus Version: 2.2.17
  • Browser / OS: iOS Chrome and Safari
  • Build Tool: Vite

Reproduction

Related Component

  • el-table-v2

Reproduction Link

Element Plus Playground

Steps to reproduce

Using any el-table-v2 on mobile with enough rows that extends past the bottom of the page.

What is Expected?

Touch scrolling to scroll

What is actually happening?

Nothing, while buttons and form inputs work fine on mobile, something as simple as scrolling is broken when using a touch-based device

Additional comments

I don't expect ElementPlus to have full mobile support but not supporting touch commands the way you support click scrolling is strange. It should translate automatically without much effort.

Scrolling on the tables is already heavily non-standard as it captures the scrolling until you move outside the element. So it should at least handle touch events.

dmix avatar Sep 21 '22 14:09 dmix