Ran Greenberg
c6a5046ef4
Add list screen for debug usage (#1940 )
* add list screen for debug behaviours
* add dummy screen
* ui changes in ListScreen
* add push list screen function without add it to the button to the screen
* add and comment push list screen row
7 anni fa
Ran Greenberg
6de5f2caae
fix double tap when back to screen via back gesture (#1931 )
7 anni fa
Guy Carmeli
d089ec845b
Check for NPE when removing long press listener on buttons
7 anni fa
Vito Chen
77b5c64ef1
Bug fixed - the UIScrollView will break on iOS10 when building by XCode9 (#1896 )
This only happens when you are using react-native@0.48.3 , and your XCode is in version 9.0
7 anni fa
Ali Najafizadeh
af347c5a0e
added tabBarHidden property to navigatorStyle (#1868 )
7 anni fa
Ethan Yanjia Li
d39e2b7f00
Update the document for tabsStyle in Android (#1869 )
* Update the comment for tabsStyle in Android
* for -> on
* Update top-level-api.md
7 anni fa
Jong Eun Lee
9da36a04bb
add shouldStretchDrawer property to drawerStyle (#1817 )
7 anni fa
Naoto Ida
831c4e148c
Fixed typo in comments (#1810 )
7 anni fa
Guy Carmeli
9cb53a7175
Update styling-the-navigator.md
7 anni fa
Vadim Ruban
16802218b8
[Android] Add ability to hide status bar via statusBarHidden option (#1821 )
7 anni fa
Guy Carmeli
9a7d483450
Measure custom react view according to navBarHeight
Fixes #1844
7 anni fa
Ran Greenberg
f34383695a
fix iOS11 safeArea - https://github.com/wix/react-native-navigation/issues/1858 (#1859 )
7 anni fa
Guy Carmeli
89eb30a542
Modal animations (#1856 )
This commit adds support for fade and slide-horizontal animations for modals and a few other animation related changes:
* Support defining animationType when calling dismissModal
* Support fade and slide horizontal animations for modals
* Slightly reworked current screen animations timings
* Fixed slide-horizontal x offset and removed alpha
7 anni fa
Guy Carmeli
7461baedc9
Stop calling host.clear() when activity is destroyed (#1838 )
This is a breaking change and has to be opt-in. To prevent host.clear from being called,
Override `clearHostOnActivityDestroy` in MainApplication and return false:
```java
@Override
public boolean clearHostOnActivityDestroy() {
return false;
}
```
If host isn't cleared, the next time the app is opened react context might still be initialized.
In this case we emit appLaunched event which has to be handled in Js:
```js
Promise.resolve(Navigation.isAppLaunched())
.then((appLaunched) => {
if (appLaunched) {
startApp();
}
new NativeEventsReceiver().appLaunched(() => {
startApp();
});
})
```
7 anni fa
Ran Greenberg
3f377f65df
fix navBarSubtitleColor - now it will set the navigation subtitle color properly without any effect on the title (#1847 )
7 anni fa
Eli Perkins
4c4eb7bb91
Prefer use of intrinsicContentSize (#1783 )
This converts from using a deprecated attribute.
7 anni fa
Ran Greenberg
c62d944c2b
add disabledButtonColor (#1842 )
* add disabledButtonColor in order to set navigation button disabled color
* add disabledButtonColor to the docs
7 anni fa
Ran Greenberg
52a093e17f
add hideBackButtonTitle in order to remove the back button title in the appStyle (#1837 )
7 anni fa
Ran Greenberg
93237a0bc3
add backButtonImage to app style in order to custom the default back button arrow image with provided image (#1834 )
7 anni fa
Guy Carmeli
354f60d124
Don't show title on button long press is title is undefined
Fixes #1007
7 anni fa
Thanh Le
6a2af3ecc0
New Feature: adding disabledSimultaneousGesture flag to manage simultaneous gesture recognition (#1777 )
7 anni fa
Guy Carmeli
e1b65cfc1a
Add keepStyleAcrossPush to documentation
7 anni fa
Ran Greenberg
ec71b3c2be
add the ability to choose is relevant styles properties will remember across push or not (#1773 )
7 anni fa
Ran Greenberg
9ad3baa4a4
add appStyle support for iOS (Android already support) 🤖 (#1772 )
7 anni fa
Thanh Le
9698578129
Bugfix #930 : change IF condition to make sure the originalInteractivePopGestureDelegate property contains value correctly. (#1763 )
7 anni fa
Guy Carmeli
a0b23ab274
Rename titleBarDisabledButtonColor to disabledButtonColor
7 anni fa
Guy Carmeli
11c27401ac
Add ability to set button colors individually on Android
7 anni fa
Jing Tai Piao
8ce9dac657
Add missing params for showInAppNotification (#1707 )
* Add font family support on bottom tabs
* import missing classes
* import missing class
* update document
* Support customize icon for left nav button in android
* Add navBar navBarTextFontSize support for android
* Add missing parameter instruction for in app notification
* Merge changes as origin master
7 anni fa
Guy Carmeli
c2f45d51fc
Update top-level-api.md
7 anni fa
Guy Carmeli
804e64a553
Implement TopBar border
Ability to set a flat border under the TopBar. `topBarElevationShadowEnabled` should be set to true if using this feature.
7 anni fa
Guy Carmeli
8d6e713ca3
Update styling-the-navigator.md
7 anni fa
Luciano Di Pasquale
f249a1ea40
[Android] Add navBarTextFontBold, navBarHeight and topTabsHeight (#1691 )
* testing
* test
* try fix props on topTabs
* Test xml menu
* Add titleBarHeight
* Remove test
* Add to StyleParams
* Add topTabsHeight
* Fix styleParams type
* Add navBarFontBold
* Add typeface package
* Remove unused debugging
7 anni fa
simin.chen
d565f39794
add adjust soft input optional config for Lightbox on android platform (#1697 )
* add adjust soft input optional config for Lightbox on android platform
* Add doc about adjustSoftInput for showLightBox
7 anni fa
Guy Carmeli
daf75a9c2a
Update top-level-api.md
7 anni fa
Guy Carmeli
fc83d3562a
Document initialTabIndex
7 anni fa
Guy Carmeli
eb36b833f2
Handle initialTabIndex in AppStyle and TabStyle
7 anni fa
Eliasz Sawicki
bb584ff341
[iOS/Android] Add initialTabIndex support (#1674 )
* Add initialTabIndex support to RCCTabBarController
* Add initialTabIndex support to BottomTabsLayout
7 anni fa
Guy Carmeli
29ad9b2178
Update example app launcher icon
7 anni fa
Guy Carmeli
fc2a637235
Fix navigationBarColor in modals
closes #1694
7 anni fa
Guy Carmeli
24fb8db816
Create TopBar react view only once
fixes #1675
7 anni fa
Dan Reynolds
1f311717f7
Update android-specific-use-cases.md (#1678 )
7 anni fa
Guy Carmeli
d224bf4d39
Update adding-buttons-to-the-navigator.md
7 anni fa
Guy Carmeli
67d2c9eea4
Add CustomButton screen to example app
7 anni fa
Guy Carmeli
db69a30a35
Unmount custom TitleBar buttons
7 anni fa
Guy Carmeli
6db371beac
Cleanup TitleBar class a bit
7 anni fa
Guy Carmeli
803dccffd4
Implement custom TitleBar buttons on Android
7 anni fa
Eli Perkins
d5cfcbec67
Add docs about using custom navigation buttons (#1669 )
7 anni fa
Johan
0dc8f4f847
Improved Deeplink documentation (#1663 )
To match the rest of the styling
7 anni fa
Ran Greenberg
052231337c
fix ShowModal global screen events
7 anni fa
Ran Greenberg
0aae3fcc7c
rename types to navigation types
7 anni fa