Commit Graph

90 Commits

Author SHA1 Message Date
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
f57a91c417 fix: tweak android q animations 2019-09-08 12:40:38 +02:00
satyajit.happy
ceaf18edd6 chore: remove commented out code 2019-09-04 11:55:37 +02:00
satyajit.happy
196cce0803 feat: add approximate android Q transition 2019-09-04 11:36:00 +02:00
satyajit.happy
167d58ce27 fix: change order of attaching nodes in card exec 2019-09-03 16:41:11 +02:00
Michal Osadnik
aa6313c0e9 feat: useForeground if possible in stack header backButton 2019-09-01 16:56:00 +01: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
a9d4813b47 fix: allow making params optional. fixes #80 2019-08-28 22:05:48 +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
satyajit.happy
01196d7b48 docs: add JSDoc for transition configurations 2019-08-28 15:41:11 +02:00
satyajit.happy
dead4e826a fix: fix stack nested in tab always getting reset 2019-08-28 12:23:15 +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
satyajit.happy
9e1104c31f feat: add hook to scroll to top on tab press 2019-08-24 12:14:49 +05:30
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
1a8281d37d refactor: change order of type parameters 2019-08-22 11:37:17 +05:30
satyajit.happy
b0a0857b0a refactor: typecheck events in navigation helpers 2019-08-22 11:33:15 +05:30
satyajit.happy
8645e361f1 fix: check if left button is truthy to add a left offset 2019-08-22 05:07:48 +05:30
satyajit.happy
4128654324 chore: navigation-ex -> react-navigation 2019-08-21 16:09:10 +05:30
satyajit.happy
14b353b6ef docs: document screen options for all navigators 2019-08-20 16:44:23 +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
satyajit.happy
7772ac55eb fix: use MaskedView from @react-native-community/masked-view 2019-08-18 23:51:50 +05:30
Arnas
6e9d05b6cf fix: use a shadow instead of a border for header on iOS
closes #97
2019-08-18 23:51:49 +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
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