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

Floating Panel Animation Differs From Built-In Sheet #675

Open
rolson opened this issue Apr 9, 2024 · 2 comments
Open

Floating Panel Animation Differs From Built-In Sheet #675

rolson opened this issue Apr 9, 2024 · 2 comments

Comments

@rolson
Copy link
Contributor

rolson commented Apr 9, 2024

The floating panel animates differently than the built-in sheet. It seems like it "rolls out" as opposed to pushing content around like the sheet does.

From @dfeinzimer :

I think it's that the FP is implemented more as a view that grows in height (from zero) rather than a view that's always at height and just slides up.

@mhdostal
Copy link
Member

In iOS 15(?, 14?) Apple Maps changes how their floating panel works. Previously, the "handle" would be on the bottom in non-compact environments and on the top in compact environments. Now the "handle" is always on the top. We should consider changing the behavior for our Floating Panel.

@dfeinzimer
Copy link
Collaborator

Now the "handle" is always on the top.

Interesting observation. That would definitely allow us to simplify some of the internals.

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

No branches or pull requests

3 participants