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

Feature request: Add support for sticky cancel button on web and Android #327

Open
hmhobbs opened this issue Jul 1, 2024 · 1 comment
Open

Comments

@hmhobbs
Copy link

hmhobbs commented Jul 1, 2024

On iOS providing a prop of cancelButtonIndex removes the option with that index from the main list and instead makes it stick to the bottom of the screen. This is useful if the list is long as the user doesn't have to scroll to find the cancel option. It would be great if this could be implemented for the pure JS action sheet as well, either by default or with an additional prop to make the cancel button sticky.

@hmhobbs
Copy link
Author

hmhobbs commented Jul 2, 2024

Following up with some screenshots and a snack to better illustrate what I'm talking about.
Android (Cancel button hidden and must be scrolled to):
image
iOS (Sticky floating cancel button):
image

Snack available here

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

1 participant