Guy Carmeli
bd4e42fadd
[v2]Shared element transition android (#3632 )
Implement Element transition on Android
This commit adds basic support for Element transition to Android.
Currently, only Shared Transition is supported and only when pushing screens.
There are a few caveats you need to be aware of if you intend to use
this feature in its current state:
1. Since elements need to be laid out before the transition can start, Set `waitForRender: true` when pushing the destination screen.
2. Fade animation has to be used when pushing screens with shared elements.
API
```js
options: {
animations: {
push: {
waitForRender: true,
content: {
alpha: {
from: 0,
to: 1,
duration: 250
}
}
}
},
customTransition: {
animations: [
]
}
}
```
6 lat temu
Guy Carmeli
9fc1dda043
Apply TopBar visibility options when adding initial child to stack
6 lat temu
Guy Carmeli
2bb57a2993
Set BottomTabs visibility only if declared explicitly when calling mergeOptions
Fixes #3401
6 lat temu
Guy Carmeli
0852ea880c
Implement BottomTabs mergeChildOptions
Instead of merging child options, the presenter applied all options :(
6 lat temu
emiyake
94e0d4630a
Moved all @types as devDependencies (#3639 )
6 lat temu
Daniel Zlotin
a5f481fa06
updated docs
6 lat temu
dpnolte
3d06fece5c
[v2][Android] Adding height and width as options for side menu to make it consistent with IOS (#3671 )
6 lat temu
Daniel Zlotin
967d7bf556
Official redux support (#3675 )
* the people have spoken
* support for projects without redux
6 lat temu
Birkir Rafn Guðjónsson
4c519acae8
[v2] Refactor peek and pop [ready to merge] (#3620 )
* Refactor peek and pop
* Rollback some XCode stuff
* Added tests for touchablePreview event
* Also fixing searchbarcancelpressed event
6 lat temu
yogevbd
024c46fc36
fix button.color
6 lat temu
yogevbd
60920cb995
fix unit tests
6 lat temu
yogevbd
98ff69ec56
Added backButton.color support
6 lat temu
Alberto Blanco
92b8d7d836
Update Installing docs (#3658 )
- Added missing step: Ignoring the build variants that we don't use or building the app module directly so it picks up the correct build variant
- Converged Step 2 and 3 into one step since they both required tweaking according to the React-Native version a project uses.
6 lat temu
Dima Loktev
3b732d0634
[v2][iOS] Simplify searchBarHiddenWhenScrolling making its behaviour default to iOS one (#3611 )
* Simplify searchBarHiddenWhenScrolling making its behaviour default to iOS one
* Update RNNTopBarOptions.m
6 lat temu
Guy Carmeli
919958dcb1
Don't remove TopBar from hierarchy when changing its visibility
When TopBar visibility was changed during screen animation, changes to hierarchy
caused screen animation to end prematurely.
6 lat temu
Guy Carmeli
f49f43d28e
Always add screens behind TopBar
This resolves a few edge cases where screens overlapped the TopBar
6 lat temu
SCadilhac
7e24aafd67
Add badgeColor option to bottomTab (#3604 )
6 lat temu
Bob Chen
12ef63bc1f
Small Typo Fix (#3653 )
"more then one screen" should be "more than one screen"
6 lat temu
yogevbd
326d2fc9ad
set waitForRender on sharedElement transition
6 lat temu
Guy Carmeli
fef4ef91b8
Remove SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN flag from root layout (#3654 )
The flag was initially set to prevent the root layout from being pushed down when showing full screen modals.
This isn't the right approach and it also messed up keyboard handling.
To prevent the root layout from being pushed down in this scenario we should probably handle window insets
6 lat temu
yogevbd
a5028b25a4
Merge branch 'v2' of github.com:wix/react-native-navigation into v2
6 lat temu
yogevbd
59da2dbe03
fixes e2e
6 lat temu
Guy Carmeli
4825a10b41
Document updating tab options
6 lat temu
yogevbd
ac86b499ad
temp fix for ios unit tests
6 lat temu
yogevbd
89cf84f1ab
Closes #3614
6 lat temu
David Narbutovich
3214e2f11a
Update Installing.md (#3623 )
6 lat temu
Guy Carmeli
4daf9debd0
Dont set back button if leftButton is decalred dynamically (#3630 )
6 lat temu
yogevbd
4a676113a4
Improve unit tests code coverage on ios
6 lat temu
yogevbd
963fb5c42d
Overlay unit tests
6 lat temu
yogevbd
78596d9332
Adresses #3054
6 lat temu
yogevbd
f3b80b821e
Closes #3618
6 lat temu
yogevbd
d28d633954
Closes #3016
6 lat temu
yogevbd
6fa1c70cc4
fix e2e
6 lat temu
yogevbd
8ff8783ca4
overlay refactor
6 lat temu
yogevbd
d2357c53fd
Closes #3606
6 lat temu
Birkir Rafn Guðjónsson
4d1adedb93
[v2] Support UIBarStyle for topBar and bottomTabs (#3519 )
* Support UIBarStyle for topBar and bottomTabs
* Added to docs
6 lat temu
Nicolás López Jullian
a8bb89d444
Fix error in docs: onSearch event handler (#3605 )
* Update events.md
* change query param to text
6 lat temu
Dima Loktev
21e1bf353e
Fix #3450 : change presentation context when SearchBar activated (#3501 )
6 lat temu
Matheus
c9ebfccb9f
Fixes AppBarLayout delayed init of elevation (#3601 )
6 lat temu
Masaru Ichikawa
84799140fe
fixed the bug on iOS that a fontFamily option does not effect when button state is disabled or highlighted (#3522 )
6 lat temu
yogevbd
17286fb55f
e2e overlay fix
6 lat temu
yogevbd
eef682d91d
Closes #3125
6 lat temu
yogevbd
04bd82dfe4
Closes #3566
6 lat temu
yogevbd
d92838f3ef
#3550
6 lat temu
Dan Murrell
4ba32ba881
fix: #3444 Disable strict prototypes build setting on iOS in v2 so RNN is buildable prior to RN 0.56. (#3534 )
6 lat temu
Guy Carmeli
390c83ae6a
Support RN 0.56
This commit also upgrades TypeScript to version 2.9.x
6 lat temu
JonnyTizz
a7e4d4d6ca
Fix spelling mistake (#3561 )
`wether` -> `whether`
6 lat temu
Guy Carmeli
1796e14ddf
Mark params parameter as optional in Navigation.pop
6 lat temu
Guy Carmeli
b858b34548
Fix BottomTabs documentation
title was renamed to text
6 lat temu
Guy Carmeli
b9b627122a
Reject is pushing to a layout which is not contained in a stack
6 lat temu