Commit Graph

27 Commits

Author SHA1 Message Date
Michal Osadnik
469ec31cc5 fix: link proper descriptor for StackView 2019-08-24 02:12:48 +01:00
satyajit.happy
b0a0857b0a refactor: typecheck events in navigation helpers 2019-08-22 11:33:15 +05:30
satyajit.happy
4128654324 chore: navigation-ex -> react-navigation 2019-08-21 16:09:10 +05:30
satyajit.happy
f0b80ce0f6 feat: implement various navigators 2019-08-19 01:07:48 +05:30
Tomasz Czajęcki
53f8ba97df fix: change single param to props object in onTransition callba… (#171) 2019-08-18 23:51:49 +05:30
Tomasz Czajęcki
c0c17e9aff feat: inform whether screen is opening/closing in onTransition callbacks (#169) 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
006a4ea47e fix: mark descriptors as optional properties 2019-08-18 23:51:48 +05:30
satyajit.happy
3f7689435a refactor: rename direction to gestureDirection 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
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
Tomasz Czajęcki
282cfe538b feat: allow specifying style interpolators in navigationOptions (#155) 2019-08-18 23:51:45 +05:30
satyajit.happy
6792be3555 fix: make sure components update when descriptor changes 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
30002a11da feat: add cardX options in navigationOptions 2019-08-18 23:51:43 +05:30
Michał Osadnik
a8460e5a9c feat: integrate react-native-screens (#145) 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.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
d2397d5a2a fix: use a separate shadow view for the cards 2019-08-18 23:51:39 +05:30
satyajit.happy
efdfffaeee refactor: refactor and perf improvements 2019-08-18 23:51:38 +05:30
satyajit.happy
9b176e9dc8 feat: new implementation with reanimated 2019-08-18 23:51:38 +05:30