Commit Graph

30 Commits

Author SHA1 Message Date
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
satyajit.happy
354da7dbfc fix: fix typo preventing the screen from being cleaned up 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
da8da3d656 fix: fix broken shadows on card 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
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
27f0ec4234 fix: don't enable overlay on iOS by default 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
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
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
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
d2397d5a2a fix: use a separate shadow view for the cards 2019-08-18 23:51:39 +05:30
satyajit.happy
f2e3c2b0c5 fix: properly normalize velocity 2019-08-18 23:51:38 +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