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

[fix] provide height hints for carousel controls #408

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

peterblazejewicz
Copy link
Contributor

This fixes the problem with indicator controls rendered outside of visible content in IndicatorView samples. With the fix carousel view hints its intended height (image intended height + margins) to the system.

Tested: iOS(sim)/Android(sim)/Mac

Thanks!

Fixes #396

iOS:
image
image
image
Android:
image
image
image

peterblazejewicz and others added 2 commits December 31, 2023 16:23
This fixes the problem with indicator controls rendered outside of
visible content in IndicatorView samples. With the fix carousel view
hints its intended height (image intended height + margins) to the
system.

Tested: iOS(sim)/Android(sim)/Mac

Thanks!

Fixes dotnet#396
Copy link
Member

@jfversluis jfversluis left a comment

Choose a reason for hiding this comment

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

Thank you for your help!

@jfversluis jfversluis merged commit 7312fd7 into dotnet:main Jan 23, 2024
3 checks passed
@peterblazejewicz peterblazejewicz deleted the fix/396 branch January 23, 2024 20:11
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.

IndicatorView demo cropped at bottom of screen on iOS
2 participants