Skip to content

Block pane scrolling difficulties (trackpad) #362

@towerofnix

Description

@towerofnix

Expected Behavior

Scrolling immediately responds to my trackpad gestures and does not behave automatically.

Actual Behavior

By "flicking" the trackpad to scroll up (see steps to reproduce), this:

GIF

Steps to Reproduce

  1. Using the mouse, drag the block palette scrollbar down so that the palette is scrolled down all the way.
  2. Using a trackpad gesture, "flick" so that the block palette is scrolled up, in the same way you'd quickly scroll up a webpage.

I think this has to do with the Macbook's "smooth" scrolling feature, where the scrolling speed decelerates once the fingers are lifted from the trackpad (instead of immediately stopping). I have no idea where the code causing this issue would be, but I'd guess that the distance scrolled in a single frame is "countered" by some value (perhaps set at the beginning of the scroll gesture), which causes the scrolling to become faster in the opposite direction.

(There's probably already an issue opened for this topic - I remember reading about scrolling issues in this repo recently - but I can't seem to find it..)

Operating System and Browser

macOS 10.12.4, Chrome 57.0.2987.133. Running on a MacBook Pro. "Scroll direction: Natural" is enabled in the trackpad preferences.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions