Files
oak-gpui/crates
Finn Evers 0af7d32b7d keymap_ui: Dismiss context menu less frequently (#34387)
This PR fixes an issue where the context menu in the keymap UI would be
immediately dismissed after being opened when using a trackpad on MacOS.

Right clicking on MacOS almost always fires a scroll event with a delta
of 0 pixels right after (which is not the case when using a mouse). The
fired scroll event caused the context menu to be removed on the next
frame. This change ensures the menu is only removed when a vertical
scroll is actually happening.

Release Notes:

- N/A
2025-07-13 21:41:41 +00:00
..
2025-07-09 16:02:31 +00:00
2025-07-11 12:38:42 -03:00
2025-07-09 08:57:03 +08:00
2025-04-02 13:26:34 -07:00
2025-07-09 16:02:31 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-06-17 20:26:27 +00:00
2025-04-02 13:26:34 -07:00
2025-07-12 11:48:19 -03:00
2025-07-08 14:34:57 +00:00
2025-07-09 16:02:31 +00:00
2025-04-02 13:26:34 -07:00
2025-07-12 11:48:19 -03:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-07-01 15:43:39 +00:00
2025-07-11 15:09:10 +02:00
2025-07-09 16:02:31 +00:00