We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ActionSheet
Type of index should be number, like iOS.
number
Is string.
string
ActionSheet.show({ options: [ // ... ] }, (index) => { console.log(typeof index); // => 'string' });
On Android.
The text was updated successfully, but these errors were encountered:
Made a PR #1370 for this issue
Sorry, something went wrong.
Fix for #1353.
51be4f7
Issue - Actionsheet of android returns buttonIndex as string instead of number
Merge pull request #1401 from GeekyAnts/fix/actionSheet/buttonIndexType
194c03e
Fix for #1353. The callback of `ActionSheet` on Android receives a string index
Fixed with NativeBase 2.3.5
No branches or pull requests
react-native, react and native-base version
Expected behaviour
Type of index should be
number
, like iOS.Actual behaviour
Is
string
.Steps to reproduce (code snippet or screenshot)
Is the bug present in both ios and android or in any one of them?
On Android.
The text was updated successfully, but these errors were encountered: