LearnNewsExamplesServices
Frontmatter
id7681
titleGrid scrollbar: Improve two-way sync detection for hybrid devices
stateClosed
labels
bugenhancementai
assigneestobiu
createdAtOct 31, 2025, 9:15 PM
updatedAtOct 31, 2025, 9:18 PM
githubUrlhttps://github.com/neomjs/neo/issues/7681
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 31, 2025, 9:18 PM

Grid scrollbar: Improve two-way sync detection for hybrid devices

Closed v11.0.0 bugenhancementai
tobiu
tobiu commented on Oct 31, 2025, 9:15 PM

The vertical scrollbar in the grid was not working correctly on some Linux laptops with touch capabilities. This was because the two-way scroll sync was disabled based on hasTouchEvents. The fix is to use hasMouseEvents instead, which is based on matchMedia('(pointer: fine)').matches. This allows two-way sync when a fine pointer (like a mouse) is the primary input device, even if the device also has a touchscreen.

tobiu added the bug label on Oct 31, 2025, 9:15 PM
tobiu added the enhancement label on Oct 31, 2025, 9:15 PM
tobiu added the ai label on Oct 31, 2025, 9:15 PM
tobiu assigned to @tobiu on Oct 31, 2025, 9:16 PM
tobiu referenced in commit 3ad5472 - "Grid scrollbar: Improve two-way sync detection for hybrid devices #7681" on Oct 31, 2025, 9:17 PM
tobiu closed this issue on Oct 31, 2025, 9:18 PM