You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(fabric,macos): force overlay scrollbar style in ScrollView
Force NSScrollerStyleOverlay on Fabric ScrollViews to avoid layout
issues with legacy (always-visible) scrollbars. Legacy scrollbars sit
inside the NSScrollView frame and reduce the clip view's visible area,
which would require compensating padding in the Yoga shadow tree.
Overlay scrollers float above content, so no layout compensation is
needed.
Additional fixes:
- Remove autoresizingMask from documentView to prevent AppKit frame
corruption during tile/resize
- Remove the layoutSubviews workaround (no longer needed without
autoresizingMask)
- Add [_scrollView tile] after content size updates to re-evaluate
scroller visibility
- Fix hit testing: check NSScroller before content subviews so
scrollbar clicks aren't swallowed by full-width content views
Fixes#2857
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments