Guy Carmeli
53126504d0
Fix wrong title declaration in TopTabs screen
vor 6 Jahren
Guy Carmeli
b9b699c986
Move options.topTabs to correct node
vor 6 Jahren
Guy Carmeli
093347c04b
Fix TopTabs selected and unselected colors
vor 6 Jahren
Guy Carmeli
9dd0c2e3aa
Additional work addressing flaky e2e
vor 6 Jahren
Guy Carmeli
667fa5a188
Enable `unmounts when dismissed` e2e
Hopefully increasing button size will eliminate flakyness
vor 6 Jahren
Guy Carmeli
ab49d49111
Suppress visibility warning for NavigationReactNativeHost ctor
vor 6 Jahren
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
vor 6 Jahren
Guy Carmeli
70bdb2b780
support config
vor 6 Jahren
Shalom Yerushalmy
f5df828e1b
Testing new multi pr job (#3287 )
* Testing new multi pr job
* Disable unmounts when dismissed
vor 6 Jahren
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.
vor 6 Jahren
Guy Carmeli
3f5ef419b7
update docs
vor 6 Jahren
Guy Carmeli
7653a17335
Updated TopBar buttons doc page
vor 6 Jahren
Guy Carmeli
8fbb82391d
Push stale config
vor 6 Jahren
Shalom Yerushalmy
06275eb229
Change Android device to Pixel_2_API_26
vor 6 Jahren
Guy Carmeli
fa0a23c95b
Fix crash when pushing into a stack located in BottomTabs
vor 6 Jahren
Guy Carmeli
c9d776e2af
Update docs
vor 6 Jahren
yogevbd
f822fac935
Implement layout options
vor 6 Jahren
Guy Carmeli
19b657b218
Update layout types docs
vor 6 Jahren
Guy Carmeli
94bf489274
Document borderColor and borderHeight
vor 6 Jahren
Guy Carmeli
1b8e762d1d
Implement topBar.borderColor and topBar.borderHeight
vor 6 Jahren
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.
vor 6 Jahren
Guy Carmeli
7fca939187
Fix markdown syntax in events.md
vor 6 Jahren
Guy Carmeli
ef557cf540
Fix tests and compilation error after removing screenBackgroundColor
vor 6 Jahren
Guy Carmeli
6a3df31009
Expose statusBarHeight in Navigation.constants
vor 6 Jahren
Guy Carmeli
722698072b
Remove screenBackgroundColor from Options.java
vor 6 Jahren
Guy Carmeli
e171d7abc4
[Breaking] Consolidate screenBackgroundColor and orientation to layout node
screenBackgroundColor was also renamed to backgroundColor
```js
layout: {
orientation: 'landscape',
backgroundColor: 'red'
}
```
vor 6 Jahren
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
vor 6 Jahren
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.
vor 6 Jahren
Guy Carmeli
604a3e2a2a
Document topBar.height and title.height style option
vor 6 Jahren
Guy Carmeli
95416d2adc
Add disabled height option top OptionScreen
vor 6 Jahren
Guy Carmeli
0b7edc2e81
Fix unit tests
vor 6 Jahren
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
vor 6 Jahren
Guy Carmeli
dda3f95ede
Fix documentation, Renamed statusBar hidden to visible
vor 6 Jahren
Guy Carmeli
4202f8643d
Add previous controller to screen only when dismissing top modal
vor 6 Jahren
Guy Carmeli
126f31c2fb
Implement statusBar drawBehind and visible option
vor 6 Jahren
John Bayne
e8dbe0d24b
Fix broken link to Screen API page in docs/usage.md (#3233 )
vor 6 Jahren
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.
vor 6 Jahren
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.
vor 6 Jahren
yogevbd
2a65abe6e1
updated docs
vor 6 Jahren
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
vor 6 Jahren
Guy Carmeli
e929ca3c0b
Fix events.md markdown syntax issues
vor 6 Jahren
Guy Carmeli
5b1b590a6d
Add events section to documentation site
vor 6 Jahren
Guy Carmeli
85d38d1386
Update docs
* New statusBar options format
* Static events
vor 6 Jahren
Guy Carmeli
98c6a6c205
[Breaking] Status bar options (#3245 )
* refactored status bar options iOS
* [Breaking] Pull StatusBar styles to separate object
vor 6 Jahren
Juan Carlos Rojas
04e52170fa
Fix syntax error: "screen" is read-only (#3237 )
vor 6 Jahren
Guy Carmeli
a641eac16e
empty commit
vor 6 Jahren
Guy Carmeli
f6712c6699
Expose constants to Js from Android
Currently exporting `backButton` id, usage: `Navigation.constants.backButton`
vor 6 Jahren
yogevbd
17c8ea0672
test modal didDisappear called on dismiss
vor 6 Jahren
Guy Carmeli
3c1933b76b
Add back button to pushed screens
vor 6 Jahren
yogevbd
3a282ea24b
Closes #3216
vor 6 Jahren