Skip to content

Carousel - Fix horizontal manual scroll on Catalyst #975

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

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

dfeinzimer
Copy link
Collaborator

In #846 we pushed the scrollbar below the Carousel content.

On Mac Catalyst scrolling with a scroll wheel on a mouse (no Trackpad) isn't supported and so the scroll indicator is necessary to support drag based scrolling. This adjusts an internal frame height such that the height increase from the indicator offset is now included in the form's VStack and the scroll indicator is hittable with a mouse.

Before After

@dfeinzimer dfeinzimer requested a review from mhdostal November 16, 2024 00:46
@dfeinzimer dfeinzimer self-assigned this Nov 16, 2024
@dfeinzimer dfeinzimer merged commit 683bfe2 into v.next Nov 18, 2024
@dfeinzimer dfeinzimer deleted the df/apollo/972 branch November 18, 2024 18:18
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.

2 participants