Commit Graph

46 Commits

Author SHA1 Message Date
satyajit.happy
ea4c753d0a refactor: rename 'timing' option to 'animation' in transition spec 2019-08-28 15:48:17 +02:00
Michal Osadnik
38336b0290 feat: disable gesture logic when no gesture stack 2019-08-28 11:22:04 +01:00
Michal Osadnik
7990cf2575 feat: add memoization of spring for stack 2019-08-27 10:51:26 +01:00
Michal Osadnik
469ec31cc5 fix: link proper descriptor for StackView 2019-08-24 02:12:48 +01:00
Michal Osadnik
1bbd6ac422 fix: set correct pointer events when active prop changes 2019-08-22 16:08:51 +05:30
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
Michal Osadnik
4878d18abf fix: bunch of fixes regarding reliability of callbacks 2019-08-18 23:51:50 +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
Christian Baroni
81b1bdfb1e fix: reduce card gesture velocity impact (#161) 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
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