Skip to content

Scroll behavior issues #197

@monodop

Description

@monodop

I originally wanted to report a weird interaction between floating elements and scrolling elements underneath, but I think overall drag scrolling is a bit weird at the moment, because:

  • floating elements with pointer capture does not affect obscured scrollable elements below

scrollbug1

  • it does not matter where you started your click, scrolling works on all scrollable elements as long as the mouse button is held down. I don't have a touchscreen to test on, but I think it this would be especially problematic in that environment.

scrollbug2

  • if you drag past the scrollable area, the offset from your original starting point will change

scrollbug3

  • drag scrolling doesn't seem to very accurately follow the cursor (this example also shows awkward behavior with nested scroll areas)

scrollbug4

In my opinion, drag scrolling should probably track which element was clicked during the start of the scroll, and the coordinates of that interaction, in order to determine where the scroll position should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions