iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Scrolling with trackpad is broken in dropdowns

Open lilyball opened this issue 2 years ago • 2 comments

Device model, version and app version

Model Name: MacBook Pro (16-inch, 2021) macOS Version: macOS 12.3.1 (21E258) App Version: 2022.3 (2022.358) Safari Version: 15.4 (17613.1.17.1.13)

Home Assistant Core Version 2022.5.4

Describe the bug When trying to select items in a dropdown (such as the icon selector for an entity), scrolling with my trackpad is broken. The dropdown flickers as though it scrolls for one frame and then immediately jumps back to the top on the next frame.

Sometimes it actually stops in a partially-scrolled state, but any attempt at scrolling again jumps back. Similarly sometimes it actually stops with the scroll thumb partially off the top of the dropdown instead.

Curiously, the contents of the dropdown actually do move around even when the scroll thumb resets to the top. It's not actually usable, but I can very slowly inch the dropdown's contents along and the scroll thumb itself will keep resetting.

To Reproduce

  1. Select any entity2. 2.
  2. Open the entity's settings
  3. Click in the icon setting to open its dropdown
  4. Scroll with a trackpad

Expected behavior It should scroll

Additional context I can drag the scrollbar and that works fine, assuming the dropdown opens in the downward direction and therefore the scroll thumb is visible. If the dropdown opens up instead the top of the dropdown is hidden under the Home Assistant top bar and therefore I can't even see the scrollbar thumb.

lilyball avatar May 15 '22 00:05 lilyball

To be clear, the "dropdown goes under the top window title bar" issue is present in Safari too, it's just much more of a problem in the desktop app as it means I can't even grab the scrollbar thumb.

lilyball avatar May 15 '22 00:05 lilyball

I have the same issue – scrolling drop down menus in the mac companion app does not work.

  • Scrolling by two fingers on touchpad does not work at all [it jitters].
  • Scrolling using scrollbar works but only if the value field is empty.

It works OK in Brave and Safari web browsers [using web UI].

Model Identifier: MacBookPro12,1 System Version: macOS 12.6 (21G115) App Version: 2022.8 (2022.387)

image

MacDada avatar Oct 02 '22 22:10 MacDada