Skip to content

[ScrollArea] Differentiate x/y orientation data-scrolling#1188

Merged
atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/scroll-area-differentiate-orientation
Dec 20, 2024
Merged

[ScrollArea] Differentiate x/y orientation data-scrolling#1188
atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/scroll-area-differentiate-orientation

Conversation

@atomiks

@atomiks atomiks commented Dec 20, 2024

Copy link
Copy Markdown
Contributor

Closes #982

Previously both scrollbars received data-scrolling even if the orientation of the scroll was for the other scrollbar. This splits the states so they time out independently.

@atomiks atomiks added the component: scroll area Changes related to the scroll area component. label Dec 20, 2024
@mui-bot

mui-bot commented Dec 20, 2024

Copy link
Copy Markdown

Netlify deploy preview

https://deploy-preview-1188--base-ui.netlify.app/

Generated by 🚫 dangerJS against 2af1afc

@vladmoroz vladmoroz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice

@atomiks atomiks merged commit 9dfbc24 into mui:master Dec 20, 2024
@atomiks atomiks deleted the fix/scroll-area-differentiate-orientation branch December 24, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: scroll area Changes related to the scroll area component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scroll area] Make it possible to recreate the macOS overlay scrollbar behaviour

3 participants