LearnNewsExamplesServices
Frontmatter
id9376
titleAdd .neo-has-touch capability class and enhance Mobile Grid Scrollbar
stateClosed
labels
enhancementai
assigneestobiu
createdAtMar 7, 2026, 6:10 PM
updatedAtMar 7, 2026, 6:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/9376
authortobiu
commentsCount1
parentIssue9369
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 7, 2026, 6:15 PM

Add .neo-has-touch capability class and enhance Mobile Grid Scrollbar

Closed v12.1.0 enhancementai
tobiu
tobiu commented on Mar 7, 2026, 6:10 PM

Part of Epic #9369

  1. Capability Flag: Update src/worker/Manager.mjs to explicitly add a .neo-has-touch class to the document.body if Neo.config.hasTouchEvents is true. This supports hybrid devices (laptops with touchscreens) better than the archaic mobile/desktop paradigm.
  2. Grid Scrollbar UX: Update resources/scss/src/grid/VerticalScrollbar.scss. When the .neo-has-touch class is present, enforce opacity: 1 and set a larger width (24px) for both the scrollbar container and the ::-webkit-scrollbar pseudo-element. This ensures the native scrollbar is always visible and provides a viable touch target for users to grab and scrub.
tobiu added the enhancement label on Mar 7, 2026, 6:10 PM
tobiu added the ai label on Mar 7, 2026, 6:10 PM
tobiu added parent issue #9369 on Mar 7, 2026, 6:10 PM
tobiu assigned to @tobiu on Mar 7, 2026, 6:13 PM
tobiu referenced in commit 2df5a41 - "feat(Grid): add .neo-has-touch capability flag and enhance mobile scrollbar UX (#9374, #9376)" on Mar 7, 2026, 6:13 PM
tobiu
tobiu Mar 7, 2026, 6:14 PM

Input from Gemini 3.1 Pro:

✦ I have implemented the .neo-has-touch capability class inside src/worker/Manager.mjs and used it in the SCSS files to ensure the vertical scrollbar is permanently visible and has a larger touch-friendly width (24px) on all devices that support touch input, regardless of whether a mouse is also present.

This completes the epic!

tobiu closed this issue on Mar 7, 2026, 6:15 PM
tobiu cross-referenced by #9377 on Mar 7, 2026, 6:19 PM
tobiu cross-referenced by #9379 on Mar 7, 2026, 6:56 PM