Skip to content

Conversation

hmhobbs
Copy link

@hmhobbs hmhobbs commented Jul 21, 2024

This adds a boolean option stickyCancel to showActionSheetWithOptions that moves the cancel button outside of the ScrollView in the custom action sheet containing the other options. This emulates the default behavior on iOS. It is especially useful for action sheets with a long list of options. This also adds another button to the example app to demonstrate this behavior.

With stickyCancel: true
Screenshot from 2024-07-21 19-32-08

with stickyCancel: false
Screenshot from 2024-07-21 19-32-34

@hmhobbs
Copy link
Author

hmhobbs commented Jul 21, 2024

This is to address the following issues:
#319 #327

@Crare
Copy link

Crare commented Apr 23, 2025

Also cancel-button is not show in iPads, so this would be nice to force it to show.

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.

2 participants