Guy Carmeli
68373759c0
Button unmount (#3856 )
Unmount buttons when corresponding screen is unmounted
Currently buttons were unmounted each time a screen was pushed to the stack.
As we're clearing props when screens are unmounted from the prop store - when a screen
was popped to - its buttons's props were undefined.
This commit changes things so that buttons are unmounted when buttons are set
using mergeOptions and when the corresponding screen is unmounted.
6 years ago
yogevbd
47abec7f10
Closes #3823
6 years ago
yogevbd
26616fc4cc
handle buttonPressed event in rootViewController
6 years ago
yogevbd
cc88900123
fixes crash on iOS
6 years ago
Shalom Yerushalmy
f66556accf
Gradle version back to 3.0.1
6 years ago
Shalom Yerushalmy
293d6bc195
Fix broken jenkins build status badge
6 years ago
Shalom Yerushalmy
d0aa2e2c0b
Update build.gradle
6 years ago
yogevbd
caff3b8801
Fixes button react component props
6 years ago
Shalom Yerushalmy
f36f5dc0c3
Downgrade gradle version from 3.1.4 to 3.1.0
6 years ago
Shalom Yerushalmy
ee34b86f26
Upgrade gradle from 3.0.1 to 3.1.4
6 years ago
yogevbd
62125f9a8f
reset badge with an empty string
6 years ago
Guy Carmeli
2002020aae
Emit modalDismissed event when dismissingAllModals as well
6 years ago
yogevbd
d4879c8cd6
remove yellow boxes on iOS
6 years ago
yogevbd
e50c62eb5b
Downgraded detox in order to fix e2e
6 years ago
Guy Carmeli
81d491f285
Temporarily fix failing e2e test on iOS
6 years ago
Guy Carmeli
3a327c62cb
Add ModalDismissed to supportedEvents on iOS
6 years ago
yogevbd
b8945a26d5
fix header alignment
6 years ago
Guy Carmeli
a322875c98
Rename Color to Colour
As RNN's Color is used frequently with Android's Color class, we had to use fully qualified names, the rename avoids this.
6 years ago
Guy Carmeli
9543b539d5
Emit modalDismissed event when modals are dismissed on Android
6 years ago
Guy Carmeli
5eee64a0ea
Hide YellowBox in TopBar components
6 years ago
yogevbd
27a6bb653f
fix custom header component
6 years ago
Guy Carmeli
7470f02045
Handle waitForRender when displaying Modals without animation
6 years ago
yogevbd
28322c71ce
fixes react component as titleView
6 years ago
Yogev Ben David
5162f17bef
fix custom header (#3798 )
* fix custom header
* fix e2e
6 years ago
Yogev Ben David
069f1a7408
Upgrade to detox 8.x.x (#3811 )
6 years ago
Yogev Ben David
ea00ae09e0
Detach button react view on reload (#3805 )
6 years ago
Guy Carmeli
64ddd95e4e
Pass defaultOptions to Stack options presenter
6 years ago
Guy Carmeli
93a448fe95
Apply topMargin only if defined
6 years ago
Guy Carmeli
319d9c8662
Always apply topMargin
Check LayoutParams before applying, set 0 topMargin if margin is not provided to reset margin.
6 years ago
Daniel Zlotin
c657ff9fd6
update docs
6 years ago
Daniel Zlotin
cf7e817f96
support for static options as a function with passProps optional argument
6 years ago
yogevbd
85b6dfa36a
Revert "Revert "Resolves componentId on showModal""
This reverts commit e1ee3d5f99 .
6 years ago
yogevbd
099ac15fbb
Revert "resolves commandId and layout on showModal"
This reverts commit f6728fc1d6 .
6 years ago
yogevbd
f6728fc1d6
resolves commandId and layout on showModal
6 years ago
yogevbd
e1ee3d5f99
Revert "Resolves componentId on showModal"
This reverts commit 2d879ccd0c .
6 years ago
yogevbd
2d879ccd0c
Resolves componentId on showModal
6 years ago
Guy Carmeli
ac10df86fd
Handle back only if root exists (#3791 )
This commit fixes a crash when hardware back button was pressed before root was set.
6 years ago
yogevbd
932f79bf08
Fixes backButton styling on iOS
6 years ago
Felipe Marcos
ac2aef2b34
Add diff syntax syntax highlighting to docs (#3771 )
6 years ago
yogevbd
9586eea60b
Closes #3545
6 years ago
yogevbd
d37ca89d94
Closes #3733
6 years ago
yogevbd
3b4e44b646
detach react topBar custom components
6 years ago
VasiliMoisiadis
bae075b495
Fix diff not rendering properly (#3751 )
The diff does not render properly on https://wix.github.io/react-native-navigation/v2/#/docs/Installing ?id=you-can-use-react-native-navigation-o. I believe the proposed change should fix this.
6 years ago
Guy Carmeli
d8c1751c05
Add back button before view is created
This prevents the back button from being added too early when pushing screens.
If the back button is added before the actual push (current behaviour) the the previous screen's
title moves unexpectedly to make space for the back button.
6 years ago
Sergey Ilyevsky
0283257447
A workaround for iOS issue of not updating popped screen nav bar in time
6 years ago
Guy Carmeli
24ec70db15
Unmount title view when corresponding child component is unmounted (#3759 )
Unmount Title component only when related child component is destroyed
Currently TopBar title component, background and buttons are unmounted when a new screen is pushed to the stack.
This causes a bug when props are passed to these components as props are cleared when child components unmount.
This commit fixes this bug for title components.
6 years ago
yogevbd
4cd79d85b7
fix buttons mergings
6 years ago
yogevbd
850e98cd76
support null background.color
6 years ago
yogevbd
54c0031cd0
fixes disabled button colors
6 years ago
Birkir Rafn Guðjónsson
103e194927
Added showcase section to documentation (#3701 )
6 years ago