Frontmatter
| id | 7681 |
| title | Grid scrollbar: Improve two-way sync detection for hybrid devices |
| state | Closed |
| labels | bugenhancementai |
| assignees | tobiu |
| createdAt | Oct 31, 2025, 9:15 PM |
| updatedAt | Oct 31, 2025, 9:18 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7681 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 31, 2025, 9:18 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 usehasMouseEventsinstead, which is based onmatchMedia('(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.