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