You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would one extend the MapExample to use dynamic snap points that update to fit the content of the modal that is currently being presented?
Using the dynamic snap points guide doesn't result in fluid, dynamic height changes according the content of whichever modal is being presented.
Dynamic snap points work when the PoiListSheet is presented. If you click into one of the locations, the height adjusts appropriately to the content of the PoiDetailsSheet modal. But if you click the close button to return to the PoiListSheet modal, the height stays fixed at the value of the PoiDetailsSheet.
How can you make it so they dynamically adjust to whatever is on the screen as you present and dismiss two different modals?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How would one extend the
MapExample
to use dynamic snap points that update to fit the content of the modal that is currently being presented?Using the dynamic snap points guide doesn't result in fluid, dynamic height changes according the content of whichever modal is being presented.
Dynamic snap points work when the
PoiListSheet
is presented. If you click into one of the locations, the height adjusts appropriately to the content of thePoiDetailsSheet
modal. But if you click the close button to return to thePoiListSheet
modal, the height stays fixed at the value of thePoiDetailsSheet
.How can you make it so they dynamically adjust to whatever is on the screen as you present and dismiss two different modals?
Beta Was this translation helpful? Give feedback.
All reactions