06a154e061
Summary: public In Navigator, there are several places that mutate `this.state.presentedIndex` with the express `this.state.presentedIndex = destIndex` instead of calling `this.setState`, which creates the problem that not all internal states are updated within the same React update cycle. One of the symptoms is that over-swiping within the Navigator may throw JS error due to `this.state.sceneConfigStack` and `this.state.presentedIndex` are not both updated. The workaround is to bypass the over-swiping gesture to avoid JS error. Reviewed By: ericvicenti Differential Revision: D2557140 fb-gh-sync-id: 1e5c9047ed17c04a63e2a568118848b00723fb1d |
||
---|---|---|
.. | ||
ListView | ||
Navigator | ||
LICENSE |