v3.3.0
Adds the showCancelButtonWhileEditing
prop. This prop manages the cancel button for you automatically appears when the search bar is focused and is hidden onCancelButtonPress
and onBlur
.
This prop will be enabled by default as it's the default behavior on iOS.
Thanks to @rmdort in 7e2771a for the initial implementation.
Internal handling of the cancel button by @iRoachie in 0e8ba00