satyajit.happy
7c86cfa88f
feat: add a canGoBack prop to header back button
2019-08-18 23:51:49 +05:30
satyajit.happy
c9b2c4d686
fix: don't ignore headerLeft if specified. fixes #164
2019-08-18 23:51:49 +05:30
satyajit.happy
167056ba91
refactor: rename gesturesEnabled to gestureEnabled for consistency
2019-08-18 23:51:48 +05:30
satyajit.happy
267d7c214f
refactor: don't use keyboardAwareNavigator The HOC currently forces us to expose some options in stack config which we don't want to. So we vendor this functionality for now to avoid this.
2019-08-18 23:51:48 +05:30
satyajit.happy
07b013ce49
chore: add typescript to pre-commit hook
2019-08-18 23:51:48 +05:30
satyajit.happy
bba0feb691
fix: fix types for stack config
2019-08-18 23:51:48 +05:30
satyajit.happy
006a4ea47e
fix: mark descriptors as optional properties
2019-08-18 23:51:48 +05:30
satyajit.happy
95055c1658
feat: support a function for headerTitle
2019-08-18 23:51:47 +05:30
satyajit.happy
3f7689435a
refactor: rename direction to gestureDirection
2019-08-18 23:51:47 +05:30
satyajit.happy
6fd3729e03
refactor: rename WipeFromBottomAndroid to RevealFromBottomAndroid
2019-08-18 23:51:47 +05:30
satyajit.happy
7ba243d3c9
refactor: export a modal transition preset
2019-08-18 23:51:47 +05:30
satyajit.happy
9f3b70f74a
fix: tweak transition spec to prevent jumping effect
2019-08-18 23:51:47 +05:30
satyajit.happy
fdf8b1a048
fix: don't enable screens for modal stacks
2019-08-18 23:51:47 +05:30
satyajit.happy
06f628bf9f
fix: properly handle floating header height
...
Previously, the header height wasn't stored per screen. This resulted in header height always referring to the one in last mounted screen.
As a result, the top margin for screens were incorrect.
This resulted in bugs such as when you go to a screen with no header, header height will stay 0 even after navigating back.
This commit stores the height for each screen separately, handling this properly.
2019-08-18 23:51:46 +05:30
satyajit.happy
73424b8072
fix: fix back button not working in header
2019-08-18 23:51:46 +05:30
Michał Osadnik
51b1069d51
feat: add on transition end callback ( #153 )
2019-08-18 23:51:46 +05:30
satyajit.happy
fb9dbf9820
fix: disable react-native-screens on iOS
2019-08-18 23:51:46 +05:30
satyajit.happy
354da7dbfc
fix: fix typo preventing the screen from being cleaned up
2019-08-18 23:51:45 +05:30
satyajit.happy
3f7a54d3b7
fix: hide overflow in wipe preset
2019-08-18 23:51:45 +05:30
Tomasz Czajęcki
282cfe538b
feat: allow specifying style interpolators in navigationOptions ( #155 )
2019-08-18 23:51:45 +05:30
satyajit.happy
1cf7dc5f47
fix: fix border radius of modal presentation
2019-08-18 23:51:45 +05:30
satyajit.happy
316452702e
fix: hide background for unfocused header in fade
...
Otherwise the header background below shows up when header mode is none
2019-08-18 23:51:45 +05:30
satyajit.happy
9dce71c223
fix: use opacity in headerStyle
2019-08-18 23:51:44 +05:30
satyajit.happy
da8da3d656
fix: fix broken shadows on card
2019-08-18 23:51:44 +05:30
satyajit.happy
00945e9b2b
refactor: measure back label layout when not truncated
2019-08-18 23:51:44 +05:30
satyajit.happy
838732dcfa
feat: add iOS modal presentation style
2019-08-18 23:51:44 +05:30
satyajit.happy
1fb33c891a
fix: whitelist supported styles instead of blacklist
2019-08-18 23:51:44 +05:30
satyajit.happy
6792be3555
fix: make sure components update when descriptor changes
2019-08-18 23:51:43 +05:30
satyajit.happy
98d29dafbf
fix: support specifying header background color in headerStyle
2019-08-18 23:51:43 +05:30
satyajit.happy
d973817883
feat: add headerTransparent option
2019-08-18 23:51:43 +05:30
satyajit.happy
27f0ec4234
fix: don't enable overlay on iOS by default
2019-08-18 23:51:43 +05:30
satyajit.happy
cb5054750c
chore: release 2.0.0-alpha.1
2019-08-18 23:51:43 +05:30
satyajit.happy
30002a11da
feat: add cardX options in navigationOptions
2019-08-18 23:51:43 +05:30
satyajit.happy
2ea09126c9
feat: add headerBackgroundStyle option
2019-08-18 23:51:42 +05:30
satyajit.happy
27c4861c00
feat: add headerBackTitleVisible option to navigation options
2019-08-18 23:51:42 +05:30
satyajit.happy
879b0ead57
fix: fix header tint color not applied
2019-08-18 23:51:42 +05:30
Michał Osadnik
b8237dec1b
feat: consider both velocity and position while calculating the next position ( #146 )
...
Co-Authored-By: Satyajit Sahoo <satyajit.happy@gmail.com >
2019-08-18 23:51:42 +05:30
satyajit.happy
55c308543d
fix: make the header appear static when sibling of headerless screen
2019-08-18 23:51:41 +05:30
Michał Osadnik
a8460e5a9c
feat: integrate react-native-screens ( #145 )
2019-08-18 23:51:41 +05:30
satyajit.happy
1b82e25bb4
fix: don't set a header height when a custom header is specified
2019-08-18 23:51:41 +05:30
satyajit.happy
4e2afa0799
fix: when header mode is screen, disable animations by default
2019-08-18 23:51:41 +05:30
satyajit.happy
29de72ad36
fix: handle RTL properly
2019-08-18 23:51:41 +05:30
satyajit.happy
aeec520516
fix: use pure component for stack items
2019-08-18 23:51:40 +05:30
Satyajit Sahoo
78c4f25c5e
fix: tweak the easing for android
...
Co-Authored-By: Michał Osadnik <micosa97@gmail.com >
2019-08-18 23:51:40 +05:30
osdnk
c2eb482367
feat: add comments
2019-08-18 23:51:40 +05:30
osdnk
73b8d220ad
feat: make listeners reliable
2019-08-18 23:51:40 +05:30
satyajit.happy
1a14c22a01
refactor: keep transition states locally and implement animated replace
2019-08-18 23:51:40 +05:30
satyajit.happy
0589275f53
fix: properly set pointerEvents on the views
2019-08-18 23:51:40 +05:30
satyajit.happy
ebc4865c5b
fix: make sure left button isn't bigger than screen width / 2
2019-08-18 23:51:39 +05:30
satyajit.happy
d2397d5a2a
fix: use a separate shadow view for the cards
2019-08-18 23:51:39 +05:30