arcgis-maps-sdk-swift-toolkit icon indicating copy to clipboard operation
arcgis-maps-sdk-swift-toolkit copied to clipboard

Floating Panel Animation Differs From Built-In Sheet

Open rolson opened this issue 1 year ago • 2 comments
trafficstars

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.

rolson avatar Apr 09 '24 23:04 rolson

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.

mhdostal avatar Apr 15 '24 16:04 mhdostal

Now the "handle" is always on the top.

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

dfeinzimer avatar Apr 15 '24 16:04 dfeinzimer