Nativebase: ActionSheet cannot show TWICE

Created on 13 May 2017  路  7Comments  路  Source: GeekyAnts/NativeBase

react-native: 0.44
native-base: 2.1.3
react-navigation: 1.0.0-beta.9

Expected behaviour: Using ReactNavigation from one screen back to this parent and can show ActionSheet or Toast again successfully

Actual behaviour: I cannot show ActionSheet or Toast again, when I back

Steps to reproduce:

First Step

cb5f7485-78a8-4443-814a-4561bc86a1fb

Second Step

35e9d428-80db-49d5-882c-cdf750d48ae1

Third Step

8aaec2a8-03f6-474e-85a1-19ac91b632b8

ERROR

image

bug duplicate

Most helpful comment

@lndj @yeknava I gave up and now using https://www.npmjs.com/package/react-native-actionsheet

All 7 comments

Here is the error line
https://github.com/GeekyAnts/NativeBase/blob/master/src/basic/Actionsheet.js#L29

And the instance is here:
https://github.com/GeekyAnts/NativeBase/blob/master/src/basic/Container.js#L16

It can't find the '_root' (Container element), after navigation backed to the ActionSheet screen.

I have no idea. Can anyone help me ?

Give up and nobody can help you!

@lndj I am confused

Same in android with react-native-router-flux navigator.

@lndj @yeknava I gave up and now using https://www.npmjs.com/package/react-native-actionsheet

We will look into this very soon

739

Was this page helpful?
0 / 5 - 0 ratings

Related issues

muthuraman007 picture muthuraman007  路  3Comments

chetnadaffodil picture chetnadaffodil  路  3Comments

natashache picture natashache  路  3Comments

omerdn1 picture omerdn1  路  3Comments

nschurmann picture nschurmann  路  3Comments