Satyajit Sahoo
5fe140e61b
fix: fix shadow position for inverted animations
2020-01-26 17:02:00 +01:00
Satyajit Sahoo
16c64e7298
fix: pass correct previous scene to header with headerMode: screen
2020-01-23 15:29:40 +01:00
Satyajit Sahoo
65e5147910
chore: add some more examples
2020-01-20 15:38:05 +01:00
Satyajit Sahoo
321fa653ad
fix: handle header translation for horizontal-inverted
...
When going from a screen with header to screen with no header, we need to translate the header to right if the animation direction is inverted.
2020-01-20 10:55:10 +01:00
Satyajit Sahoo
0a982ee698
fix: don't use native driver on web
...
The native driver is not supported for animations on web. It just prints a wanrning in the console. So we conditionally disable it on web.
2020-01-20 06:20:06 +01:00
Satyajit Sahoo
38520a97ff
fix: position inactivscreensws offscreen by default
2020-01-18 23:13:36 +01:00
Satyajit Sahoo
43d2c456be
fix: slide the header up to hide it for vertical animation
2020-01-18 04:13:37 +01:00
Satyajit Sahoo
fe82276b1f
fix: use a fade animation for header in all presets
2020-01-18 03:54:01 +01:00
Satyajit Sahoo
da67e134d2
feat: let the navigator specify if default can be prevented
2020-01-14 16:48:56 +01:00
Satyajit Sahoo
23f76189a4
refactor: rename forStatic to forSlide for header
2020-01-13 00:54:05 +01:00
Satyajit Sahoo
37d26ca994
fix: change default screen change animation on web
2020-01-09 02:59:36 +01:00
Satyajit Sahoo
5470aeaca2
fix: don't add header animation if mode is not float
2020-01-09 02:54:01 +01:00
Satyajit Sahoo
67798af869
fix: clamp interpolated styles
2020-01-09 01:27:19 +01:00
Satyajit Sahoo
32ffaac647
fix: only render last 3 headers in stack
2020-01-09 01:10:44 +01:00
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
Satyajit Sahoo
77b757091c
fix: provide initial values for safe area to prevent blank screen ( #238 )
...
https://github.com/react-navigation/stack/issues/328
2020-01-03 16:25:59 +01:00
Michał Osadnik
6b9b999c5b
fix: interaction manager in stack ( #237 )
2020-01-03 15:48:06 +01:00
imgbot[bot]
8c5f84094f
chore: optimize images ( #236 )
...
*Total -- 272.34kb -> 260.85kb (4.22%)
/packages/stack/src/views/assets/back-icon-mask.png -- 1.58kb -> 0.89kb (43.61%)
/example/assets/avatar-1.png -- 3.33kb -> 2.40kb (27.96%)
/example/assets/avatar-2.png -- 2.29kb -> 1.67kb (26.87%)
/example/assets/icon.png -- 1.07kb -> 0.88kb (17.51%)
/example/assets/album-art-4.jpg -- 34.70kb -> 33.05kb (4.75%)
/example/assets/album-art-1.jpg -- 28.85kb -> 27.58kb (4.38%)
/example/assets/album-art-3.jpg -- 28.53kb -> 27.37kb (4.05%)
/example/assets/book.jpg -- 97.60kb -> 94.13kb (3.56%)
/example/assets/album-art-2.jpg -- 20.94kb -> 20.33kb (2.94%)
/example/assets/album-art-6.jpg -- 22.07kb -> 21.57kb (2.26%)
/example/assets/album-art-8.jpg -- 21.28kb -> 20.92kb (1.69%)
/example/assets/album-art-7.jpg -- 10.10kb -> 10.05kb (0.5%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: Imgbot <help@imgbot.net >
2020-01-03 11:37:33 +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
c52a8c46a8
fix: fix typescript issues
2019-12-19 14:39:35 +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
87d445b4e4
fix: disable pointerEvents on header when not focused
2019-12-03 20:33:41 +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