Guy Carmeli
093347c04b
Fix TopTabs selected and unselected colors
6 gadus atpakaļ
Guy Carmeli
9dd0c2e3aa
Additional work addressing flaky e2e
6 gadus atpakaļ
Guy Carmeli
667fa5a188
Enable `unmounts when dismissed` e2e
Hopefully increasing button size will eliminate flakyness
6 gadus atpakaļ
Guy Carmeli
ab49d49111
Suppress visibility warning for NavigationReactNativeHost ctor
6 gadus atpakaļ
Birkir Rafn Guðjónsson
7c422f7fa1
[v2] Preview peek and pop (iOS) (#3273 )
* V2: Peek and pop
* Add event when preview is dismissed in non commit mode
* tslint
* Refactor playground. Document preview api
* Added width prop
* Implement hybrid push/preview button
* Fixing small linting errors
6 gadus atpakaļ
Guy Carmeli
70bdb2b780
support config
6 gadus atpakaļ
Shalom Yerushalmy
f5df828e1b
Testing new multi pr job (#3287 )
* Testing new multi pr job
* Disable unmounts when dismissed
6 gadus atpakaļ
Guy Carmeli
fefd96f7e8
InterceptTouchOutside only when requested explicitly by the user
This works around an issue with RN's view reconciliation when the
root component has no background color defined.
6 gadus atpakaļ
Guy Carmeli
3f5ef419b7
update docs
6 gadus atpakaļ
Guy Carmeli
7653a17335
Updated TopBar buttons doc page
6 gadus atpakaļ
Guy Carmeli
8fbb82391d
Push stale config
6 gadus atpakaļ
Shalom Yerushalmy
06275eb229
Change Android device to Pixel_2_API_26
6 gadus atpakaļ
Guy Carmeli
fa0a23c95b
Fix crash when pushing into a stack located in BottomTabs
6 gadus atpakaļ
Guy Carmeli
c9d776e2af
Update docs
6 gadus atpakaļ
yogevbd
f822fac935
Implement layout options
6 gadus atpakaļ
Guy Carmeli
19b657b218
Update layout types docs
6 gadus atpakaļ
Guy Carmeli
94bf489274
Document borderColor and borderHeight
6 gadus atpakaļ
Guy Carmeli
1b8e762d1d
Implement topBar.borderColor and topBar.borderHeight
6 gadus atpakaļ
Guy Carmeli
c57fcf2c79
Implement layout.topMargin
This option property lets us set a top margin to a component which can be useful sometimes
when using statusBar.drawBehind.
6 gadus atpakaļ
Guy Carmeli
7fca939187
Fix markdown syntax in events.md
6 gadus atpakaļ
Guy Carmeli
ef557cf540
Fix tests and compilation error after removing screenBackgroundColor
6 gadus atpakaļ
Guy Carmeli
6a3df31009
Expose statusBarHeight in Navigation.constants
6 gadus atpakaļ
Guy Carmeli
722698072b
Remove screenBackgroundColor from Options.java
6 gadus atpakaļ
Guy Carmeli
e171d7abc4
[Breaking] Consolidate screenBackgroundColor and orientation to layout node
screenBackgroundColor was also renamed to backgroundColor
```js
layout: {
orientation: 'landscape',
backgroundColor: 'red'
}
```
6 gadus atpakaļ
Birkir Rafn Guðjónsson
07376e9e29
[v2] UISplitViewController (#3247 )
* Work in progress
* Arbitary changes
* Improvements on API
* Cleanup RNNSplitViewController, allow mergeOptions
* Added documentation and better playground example
* Adding tests for coverage
* Find out why this test is failing.
* Only show split view on iOS
* Add test back in
6 gadus atpakaļ
Guy Carmeli
a7391bb664
Dismiss system alerts in playground app
Hopefully, this will prevent Detox from timing out when a system alert pops up on the screen.
6 gadus atpakaļ
Guy Carmeli
604a3e2a2a
Document topBar.height and title.height style option
6 gadus atpakaļ
Guy Carmeli
95416d2adc
Add disabled height option top OptionScreen
6 gadus atpakaļ
Guy Carmeli
0b7edc2e81
Fix unit tests
6 gadus atpakaļ
Guy Carmeli
4df7426fd1
Implement topBar.height and title.height
This commit add support for changing the TopBar height as well as changing
the height of custom component used as background
7 gadus atpakaļ
Guy Carmeli
dda3f95ede
Fix documentation, Renamed statusBar hidden to visible
7 gadus atpakaļ
Guy Carmeli
4202f8643d
Add previous controller to screen only when dismissing top modal
7 gadus atpakaļ
Guy Carmeli
126f31c2fb
Implement statusBar drawBehind and visible option
7 gadus atpakaļ
John Bayne
e8dbe0d24b
Fix broken link to Screen API page in docs/usage.md (#3233 )
7 gadus atpakaļ
Rafael Viotti
f57099c0db
A few improvements for Android (#3150 )
1. Sideenus weren't clickable on Android. It seems the order in which
child views were being added to parent controllers, left or right
before center, were affecting the ability to interact with the menus.
I've changed the code to always add them in a specific order: center,
then left, then right.
I believe this closes issue #2835 .
https://github.com/wix/react-native-navigation/issues/2835.
2. On Android, merging options to open a menu works.
Navigation.mergeOptions(currentComponentId, {
sideMenu: {
left: {
visible: true
}
}
})
But merging options to close it wasn't working.
Navigation.mergeOptions(currentComponentId, {
sideMenu: {
left: {
visible: false
}
}
})
3. The bottom tabs controller was reserving a margin space for the tabs
when switching from one to another, regardless of its visibility
settings.
7 gadus atpakaļ
Yusuf YILDIRIM
7661d4b579
iOS native event fix (#3254 )
As you can see here: https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/EventsRegistry.ts#L28 nativeEventListener expects an object which is includes name and params but on the iOS side, the native bridge is triggers the event listener but passes wrong object. iOS is passes commandName instead of name. This commit is fixes the problem.
7 gadus atpakaļ
yogevbd
2a65abe6e1
updated docs
7 gadus atpakaļ
Yogev B
f3efebe8ca
Smarter set root (#3251 )
* setRoot({root:{}})
* support setRoot with root, modals, overlays
* Update setRoot calls in playground app to new api
* Update setRoot on Android to new api
currently only supporting root node
* Update setRoot on iOS to new api
* fix unit tests
7 gadus atpakaļ
Guy Carmeli
e929ca3c0b
Fix events.md markdown syntax issues
7 gadus atpakaļ
Guy Carmeli
5b1b590a6d
Add events section to documentation site
7 gadus atpakaļ
Guy Carmeli
85d38d1386
Update docs
* New statusBar options format
* Static events
7 gadus atpakaļ
Guy Carmeli
98c6a6c205
[Breaking] Status bar options (#3245 )
* refactored status bar options iOS
* [Breaking] Pull StatusBar styles to separate object
7 gadus atpakaļ
Juan Carlos Rojas
04e52170fa
Fix syntax error: "screen" is read-only (#3237 )
7 gadus atpakaļ
Guy Carmeli
a641eac16e
empty commit
7 gadus atpakaļ
Guy Carmeli
f6712c6699
Expose constants to Js from Android
Currently exporting `backButton` id, usage: `Navigation.constants.backButton`
7 gadus atpakaļ
yogevbd
17c8ea0672
test modal didDisappear called on dismiss
7 gadus atpakaļ
Guy Carmeli
3c1933b76b
Add back button to pushed screens
7 gadus atpakaļ
yogevbd
3a282ea24b
Closes #3216
7 gadus atpakaļ
Guy Carmeli
59a30efbf4
Revert "- Fixes freeze of passProps on iOS (#3220 )" (#3222 )
This reverts commit fa135e223b .
7 gadus atpakaļ
pera
fa135e223b
- Fixes freeze of passProps on iOS (#3220 )
7 gadus atpakaļ