Commit Graph

69 Commits

Author SHA1 Message Date
Michał Osadnik
a27ade8881 fix: handling vertical gesture in RTL (#122) 2019-10-06 00:00:43 +02:00
satyajit.happy
615b523d26 fix: don't recompute if routes didn't change 2019-10-05 22:50:09 +02:00
satyajit.happy
a7c4a4d7cd fix: fix vertical gesture 2019-10-04 00:53:26 +02:00
satyajit.happy
6f5f4b7d35 fix: fix passing insets to interpolator 2019-10-04 00:01:45 +02:00
satyajit.happy
832ed882bc refactor: use react-native-safe-area-context 2019-10-03 21:31:09 +02:00
satyajit.happy
da944ccef9 fix: fix header buttons not clickable on Android. fixes #108 2019-10-03 19:07:21 +02:00
satyajit.happy
bc3586ae3e fix: keep the routes we are closing or replacing 2019-10-03 18:44:18 +02:00
satyajit.happy
a8851b730d chore: upgrade deps 2019-10-03 17:35:24 +02:00
satyajit.happy
8b78d617c0 feat: export some more type aliases 2019-09-25 23:09:58 +02:00
osdnk
4ee19bcdb9 fix: vertical gesture in stack 2019-09-23 18:25:06 +02:00
satyajit.happy
2f66556b10 fix: fix header rendered behind card. closes #108 2019-09-23 17:24:43 +02:00
Michał Osadnik
6af8400421 fix: don't remove route if animation isn't finished when dragging (#100) 2019-09-16 21:02:49 +02:00
satyajit.happy
17045f5b6d refactor: share fallback descriptor 2019-09-14 16:05:19 +02:00
Janic Duplessis
9563a27284 feat: integrate InterationManager in stack 2019-09-08 17:01:06 +02:00
satyajit.happy
ceaf18edd6 chore: remove commented out code 2019-09-04 11:55:37 +02:00
satyajit.happy
167d58ce27 fix: change order of attaching nodes in card exec 2019-09-03 16:41:11 +02:00
Michal Osadnik
55ec815247 fix: stack with gesture enabled 2019-09-01 12:46:55 +01:00
satyajit.happy
c7a79a62fa fix: defer running the animation to next frame 2019-09-01 12:43:03 +02:00
Michal Osadnik
3f853d458f feat: optimizations in stack 2019-09-01 02:09:48 +01:00
satyajit.happy
bf0b408238 refactor: change signature of interpolation props 2019-08-31 10:21:36 +02:00
satyajit.happy
6a8242c31a fix: properly set animated node on gestureEnabled change 2019-08-29 19:55:42 +02:00
satyajit.happy
3ad2e6ebcf fix: change interpolated style when idle to avoid messing up reanimated 2019-08-29 16:12:22 +02:00
satyajit.happy
8c1acc33c6 fix: fix gestures not working in stack 2019-08-28 21:41:15 +02:00
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