react-native-segmented-picker icon indicating copy to clipboard operation
react-native-segmented-picker copied to clipboard

Add a cancel button?

Open u-abyss opened this issue 3 years ago • 1 comments

Hi!

is it possible to add a cancel button on the toolbar? i want to close this picker to press the cancel button.

thank you for making this!

u-abyss avatar Apr 20 '21 05:04 u-abyss

Hey there! Thanks for the feature request. This is definitely something I will consider adding.

I actually avoided adding a "Cancel" button initially because I don't ever recall seeing that pattern implemented in the iOS UI for picklists/modal picklists.

Are there any examples of that design/pattern being used on iOS that you can show me? I was aiming to keep this component fairly consistent with the iOS styling.

adammcarth avatar Apr 20 '21 08:04 adammcarth