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

Programmatically setting detent results in clipped view. #11

Open
ericlewis opened this issue Feb 1, 2022 · 3 comments
Open

Programmatically setting detent results in clipped view. #11

ericlewis opened this issue Feb 1, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@ericlewis
Copy link
Owner

Programmatically changing from a large detent to a medium detent causes the content view to resize to the end height, resulting in a white box as the controller moves downward to its new size.

@ericlewis ericlewis added bug Something isn't working help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Feb 1, 2022
@aehlke
Copy link

aehlke commented Aug 4, 2023

this is just a visual issue during the transition? or it stays in a broken state after changing from large to medium (larger to smaller)? sorry, just trying to understand what issue to expect by adopting this. thanks

@ericlewis
Copy link
Owner Author

this is just a visual issue during the transition? or it stays in a broken state after changing from large to medium (larger to smaller)? sorry, just trying to understand what issue to expect by adopting this. thanks

Quick question - why would you adopt this? All of it is now built in to SwiftUI.

@aehlke
Copy link

aehlke commented Aug 11, 2023

@ericlewis I rely on undimmed sheets, like you see in map apps. if I use introspection to add undimmed, it flashes to dimmed for a moment. I forked this with some little tweaks and have everything working nicely for my app now, thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants