Consume currentTabId and currentTabIndex after they are applied (#6169)
If currentTabId or currentTabIndex were declared in default options - the specified tab was reselected each time options were applied.
Co-authored-by: Yogev Ben David <yogev132@gmail.com>
Implement rotate animation for shared element transition (#6144)
This commit adds support for animating rotate/rotationZ animation during shared element transition.
It also...
* Removes ClipBoundsAnimator - Not sure why I reintroduced it
* Sets pivotX and pivotY only if needed
* Removes "Preview" button in Navigation tab from Android
* Delete ClipBoundsAnimator
This commit adds support to the startDelay option in shared element transitions on Android. It also fixes image scale transition which only animated the image's scale type, but not its bounds.
Support declaring interpolation per shared element transition (#6139)
* Implement startDelay + fix image scale transition
This commit adds support to the startDelay option in shared element transitions on Android. It also fixes image scale transition which only animated the image's scale type, but not its bounds.
* Support declaring interpolator per element transition
What's changed:
- Added a new side bar, `Third party integration` and to that added `React Context API` and `MobX` documentation.
- Added a limitation of using React Context API with RNN so people are informed of such caveat.
- Informed the readers that if they wish to trigger re-renders across all screens, they need to use the alternatives such as MobX or Redux.
This PR introduces an options to control the NavigationBar's visibility on Android.
```js
navigationBar: {
visible: false
}
```
Co-authored-by: Guy Carmeli <guyc@wix.com>
* Update installing doc
* Rename style articles
* add docs prefix to getting started articles
* Rename all the things. Consistent id format
* Split docs and api
* Fix links
Co-authored-by: Guy Carmeli <guyc@wix.com>
* Completely rewritten the docs from scratch
* More coherent separation between guides and API documentation
* Switched to Docusaurus 2 since Docsify is deprecated
* More code samples
* Images and animated gifs were added where appropriate improve clarity (more will be added in the future)
Fix SafeAreaView and width in sidedrawer (#3418, #4527) (#6080)
Prevously: Adding a sideMenu with no width resulted in the side content having 100% width (partially drawn behind center view). Adding a sidemenu with a width option resulted in SafeAreaView inside the side content not working (content obstructed by iPhone notch).
Undoing the fix in commit 37f5697 fixes the first problem.
Calling setNeedsLayout on the sideMenu also fixes the original problem of SafeAreaView not working correctly. Although I am not sure why this is needed. There may a better solution.
Co-authored-by: Yogev Ben David <yogev132@gmail.com>