Satyajit Sahoo
7a3d652e84
fix: change POP behaviour to remove elements from index only
...
Fixes #256
2020-01-09 01:06:55 +01:00
Michał Osadnik
d3f5c55dbf
fix: remove clamping in extrapolation of progress of stack animation
2020-01-07 06:46:29 -05:00
Satyajit Sahoo
d8b88bd83f
fix: memoize interpolated style to avoid extra work
2020-01-05 17:25:27 +01:00
Satyajit Sahoo
65ce20ecbc
fix: use memo for card container
2020-01-05 15:29:41 +01:00
Satyajit Sahoo
12d90833eb
fix: expose the header height even if not floating
2020-01-05 15:10:05 +01:00
Satyajit Sahoo
133b59cd17
feat: expose header height in context
2020-01-05 14:26:16 +01:00
Satyajit Sahoo
a9e584c3b7
fix: compare with correct height when floating header height updates
2020-01-05 13:58:24 +01:00
Satyajit Sahoo
b201fd2071
feat: add headerStatusBarHeight option to stack
2020-01-05 02:30:09 +01:00
Satyajit Sahoo
7f963a74bb
fix: keep screens for replace when animation is enabled
2020-01-03 21:39:03 +01:00
Satyajit Sahoo
572beae41b
fix: use gesture direction when using next screen's animation
2020-01-03 21:27:48 +01:00
Satyajit Sahoo
15fe3ebb51
refactor: remove PointerEventsView
2020-01-03 21:22:44 +01:00
Satyajit Sahoo
2c31d1705c
fix: dismiss keyboard on page change
2020-01-03 18:11:44 +01:00
Satyajit Sahoo
87d28ca430
refactor: minor tweaks
2020-01-03 17:07:42 +01:00
Michał Osadnik
6b9b999c5b
fix: interaction manager in stack ( #237 )
2020-01-03 15:48:06 +01:00
Satyajit Sahoo
59803f54d6
fix: improve gesture performance
2020-01-01 16:26:51 +01:00
Satyajit Sahoo
935659899f
fix: use native driver for gestures
2020-01-01 15:48:26 +01:00
Satyajit Sahoo
282f62c258
refactor: use animated instead of reanimated
2020-01-01 12:53:01 +01:00
Satyajit Sahoo
878297e52f
chore: update eslint config
2019-12-19 23:13:23 +01:00
Satyajit Sahoo
9fc1af02c2
refactor: remove extra prop
2019-12-16 15:43:38 +01:00
Satyajit Sahoo
c110570d4c
fix: disable style interpolation for card when animation is disabled
2019-12-16 15:25:19 +01:00
Satyajit Sahoo
d57226fd8b
refactor: remove cardTransparent in favor of cardStyle
2019-12-16 15:09:10 +01:00
Satyajit Sahoo
00fc616de0
feat: add custom theme support ( #211 )
2019-12-14 22:25:25 +01:00
Satyajit Sahoo
eef17a801e
refactor: import from /native instead of /core
2019-12-11 17:44:21 +01:00
Christian Falch
6cddb5238c
feat: expose animation related values in context
2019-12-10 15:53:27 +01:00
Satyajit Sahoo
cd1acbf8b5
refactor: add inverted direction and simplify code
2019-12-10 13:07:03 +01:00
Satyajit Sahoo
c7e35e0f0d
refactor: use proc node to improve reanimated mount time
...
Co-authored-by: Michał Osadnik <micosa97@gmail.com >
2019-12-09 22:43:19 +01:00
Satyajit Sahoo
b6c7d2b626
refactor: remove navigation prop uses from CardStack
2019-12-09 22:28:49 +01:00
Satyajit Sahoo
d618ab382e
feat: export underlying views used to build navigators ( #191 )
...
Exporting the underlying views makes it easy to build custom navigators on top of our views. Libraries such as react-native-router-flux rely on such exports to build custom routing solutions while being able to take advantage of our work.
This can also be the solution to adding custom behaviour without us needing to add separate config to override the router.
2019-12-04 00:22:53 +01:00
Satyajit Sahoo
eaf88478cc
fix: correctly update layout on onLayout events
2019-12-03 20:32:38 +01:00
Satyajit Sahoo
2750cad272
fix: respect custom safearea insets when calculating header height
...
fixes #190
2019-11-29 17:25:34 +01:00
Satyajit Sahoo
d619292bf2
chore: upgrade deps
2019-11-17 02:42:28 +01:00
Satyajit Sahoo
c17ad18b20
fix: workaround SafereaProvider causing jumping
...
see #174
2019-11-16 19:41:42 +01:00
osdnk
225e760a54
fix: conditions in gesture direction
2019-10-22 21:06:02 +02:00
Satyajit Sahoo
f22abb726c
fix: don't fire onOpen when screen is unmounting ( #137 )
...
I can't think of a scenario a screen would unmount when opening.
So it's probably a safe-bet to always call onClose.
Fixes #136
2019-10-22 09:26:59 +02:00
satyajit.happy
2b5955efbe
refactor: use Record type for objects
2019-10-22 00:53:11 +02:00
satyajit.happy
300791ab49
feat: add an option to override safe area insets
2019-10-18 16:20:53 +02:00
satyajit.happy
731cf7d5b1
fix: fix incorrect type
2019-10-16 22:59:45 +02:00
satyajit.happy
442b95d9e4
fix: use header height from style if specified
2019-10-16 15:02:39 +02:00
satyajit.happy
9d9fe31f02
fix: don't ignore descriptors change
2019-10-15 14:17:49 +02:00
satyajit.happy
ba6b6ae025
feat: drop header: null in favor of more explitit headerShown option
2019-10-06 15:56:30 +02:00
satyajit.happy
16079d1050
fix: actually expose gestureVelocityImpact in the public API
2019-10-06 04:17:49 +02:00
satyajit.happy
b4a76814c6
fix: use next screen's animation when not focused. fixes #87
2019-10-06 04:13:13 +02:00
Michał Osadnik
8294efc8f4
feat: add gestureVelocityImpact as a prop for stack ( #123 )
2019-10-06 00:05:42 +02:00
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