cesardeazevedo / react-native-collapsing-toolbar

react-native wrapper for android CollapsingToolbarLayout
MIT License
293 stars 33 forks source link

You have to rotate the screen to work properly. #21

Open A-ANing opened 5 years ago

A-ANing commented 5 years ago

1565230773179

As shown in the figure, I have to rotate the screen before I can use it properly. Otherwise, the module below will be separated from the module above.

In addition to rotating the screen, I click on the input box, it can also be used normally, otherwise it will be the same.

I tried to change the code into your example, and the result is the same, not the react-native-scrollable-tab-view problem.

A-ANing commented 5 years ago

"react-native-collapsing-toolbar": "^1.0.0-beta.9", "react-native-nested-scroll-view": "^8.0.0", "react": "16.8.3", "react-native": "0.59.8",

A-ANing commented 5 years ago

@cesardeazevedo Hello, can you help me? Thank you very much.

A-ANing commented 5 years ago

This only happens when the app is started, that is, when the process of the application is terminated, the app is started again.

A-ANing commented 5 years ago

@cesardeazevedo I tried to use redraw () in componentDidMount, and I had to add a timer. Otherwise, it will not work, but how to determine the delay time?