Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScrollComponent: Implement better specification of direction #125

Merged
merged 11 commits into from
Oct 19, 2023

Conversation

Sychic
Copy link
Member

@Sychic Sychic commented Sep 7, 2023

This should retain the original behavior where it defaults to preferring vertical when both are enabled. This also allows for not requiring holding shift when horizontal is the only scroll direction.

Closes #123

This should retain the original behavior where it defaults to preferring vertical when both are enabled.
@Sychic
Copy link
Member Author

Sychic commented Sep 23, 2023

For a bit of accounability/transparency: This PR is currently waiting on a fix for nested scrollers.

This version changes the behavior of scroll components to not require holding shift if horizontal scrolling is the only option
…when we can no longer scroll in that direction
@Sychic Sychic requested a review from Johni0702 October 12, 2023 14:39
@Sychic
Copy link
Member Author

Sychic commented Oct 13, 2023

Everything should be addressed in the last 5 commits

@Sychic Sychic requested a review from Johni0702 October 13, 2023 19:26
@Johni0702 Johni0702 merged commit 282de68 into master Oct 19, 2023
1 check passed
@Johni0702 Johni0702 deleted the improve/scrollcomponent branch October 19, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Elementa ScrollComponent
2 participants