osdnk
e6566b68d7
fix: handleCloseRoute with proper key
2019-09-25 16:00:07 +02:00
osdnk
0c06b5daa5
fix: deliver toChildKey with StackAction
2019-09-24 19:10:11 +02:00
satyajit.happy
a3c769811b
fix: fix header rendered behind card
2019-09-23 21:51:35 +02:00
osdnk
62782d54c2
fix: vertical gesture
2019-09-23 18:19:56 +02:00
Janic Duplessis
d28d216b9a
feat: integrate 'InterationManager' in stack
2019-09-22 01:41:42 +02:00
Michal Osadnik
36e2081df4
fix: change order of attaching nodes in card exec
2019-09-22 01:32:45 +02:00
Michal Osadnik
ac383821bf
fix: stack with gesture enabled
2019-09-22 01:27:57 +02:00
satyajit.happy
e08ad8fe66
fix: defer running the animation to next frame
2019-09-22 01:27:14 +02:00
Michal Osadnik
67e36cbc06
refactor: optimizations in stack
2019-09-22 01:22:50 +02:00
satyajit.happy
52641ac43a
chore: upgrade react-navigation
2019-09-14 16:03:28 +02:00
Satyajit Sahoo
a0676569d0
fix: fix typescript definitions ( #214 )
2019-09-11 17:01:17 +02:00
Tomasz Czajęcki
f4c8078da8
feat: if cardStyle has flexed specified, set the same value on P… ( #206 )
...
* feat: if cardStyle has flexed specified, set the same value on PointerEventsView
* Stop producing empty object if no override is needed
* Change produced false to undefined
* Update cardStyle to handle arrays
* Update code to use StyleSheet.flatten
* Use better styling
* Update snapshots
2019-09-10 22:51:58 +02:00
satyajit.happy
4c012ad1ea
fix: add peer dep on react-navigation
2019-09-09 21:52:09 +02:00
satyajit.happy
4a53cc8b00
refactor: change signature of interpolation props
2019-08-31 10:25:41 +02:00
satyajit.happy
58c723e2ae
fix: change interpolated style when idle to avoid messing up reanimated
2019-08-29 19:52:34 +02:00
satyajit.happy
435b8dbbc8
fix: properly set animated node on gestureEnabled change
2019-08-29 19:51:15 +02:00
satyajit.happy
422bc00bc2
refactor: rename 'timing' option to 'animation' in transition spec
2019-08-28 15:45:09 +02:00
Michał Osadnik
e22a0213c8
feat: disable attaching nodes when gestureEnabled set to false ( #194 )
2019-08-28 11:17:06 +01:00
Michal Osadnik
470deb08b8
feat: adapt memoization for new and old reanimated as well
2019-08-27 00:02:00 +01:00
Michal Osadnik
c1798a233a
fix: add memoization of spring nodes
2019-08-16 15:44:41 +01:00
wojciechstaniszswmansion
5dc8a289ef
feat: add 'vertical-inverted' as gesture direction ( #184 )
...
As for now there is no way to dismiss modal by moving up, only swiping down is available.
https://streamable.com/s/ogjyq/gqugbc
2019-08-22 16:11:04 +02:00
Michal Osadnik
bdda89d8ee
fix: set correct pointer events when active prop changes
2019-08-18 21:56:54 +01:00
Michal Osadnik
dceba42ffa
fix: bunch of fixes regarding reliability of callbacks
2019-08-18 17:18:43 +01:00
Tomasz Czajęcki
a2cc097e3e
fix: change single param to props object in onTransition callba… ( #171 )
2019-07-30 15:05:05 +02:00
Tomasz Czajęcki
d619da7978
feat: inform whether screen is opening/closing in onTransition callbacks ( #169 )
2019-07-26 13:24:30 +02:00
Christian Baroni
5c2825c7bc
fix: reduce card gesture velocity impact ( #161 )
2019-07-17 15:13:25 -07:00
satyajit.happy
ef3742e992
refactor: rename gesturesEnabled to gestureEnabled for consistency
2019-07-15 17:35:21 +02:00
satyajit.happy
4db67a17a6
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-07-14 21:55:19 +02:00
satyajit.happy
cfa7e2f1a1
chore: add typescript to pre-commit hook
2019-07-14 22:00:20 +02:00
satyajit.happy
3fd98fb997
fix: fix types for stack config
2019-07-12 16:56:47 +02:00
satyajit.happy
4be4ea0fb5
fix: mark descriptors as optional properties
2019-07-11 02:02:32 +02:00
satyajit.happy
442d9e92a7
refactor: rename direction to gestureDirection
2019-07-10 16:09:39 +02:00
satyajit.happy
1590824dba
refactor: export a modal transition preset
2019-07-08 03:22:05 +02:00
satyajit.happy
e8b7937f9e
fix: don't enable screens for modal stacks
2019-07-08 02:56:58 +02:00
satyajit.happy
bd0e602143
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-07-07 15:21:46 +02:00
satyajit.happy
919a274b4c
fix: fix back button not working in header
2019-07-07 14:39:28 +02:00
Michał Osadnik
fef274ced4
feat: add on transition end callback ( #153 )
2019-07-07 13:02:48 +01:00
satyajit.happy
da7284999b
fix: disable react-native-screens on iOS
2019-07-06 15:24:42 +02:00
satyajit.happy
a41714fa57
fix: fix typo preventing the screen from being cleaned up
2019-07-06 15:14:38 +02:00
Tomasz Czajęcki
8795e7b660
feat: allow specifying style interpolators in navigationOptions ( #155 )
2019-07-06 12:41:34 +02:00
satyajit.happy
43a41f0ae5
fix: fix broken shadows on card
2019-07-01 17:33:42 +02:00
satyajit.happy
c6ba6e8c1c
feat: add iOS modal presentation style
2019-06-07 15:05:52 +02:00
satyajit.happy
3750fd7800
fix: make sure components update when descriptor changes
2019-06-21 14:32:03 +02:00
satyajit.happy
4b2e6a95ca
feat: add headerTransparent option
2019-06-21 12:54:19 +02:00
satyajit.happy
2c1b144492
fix: don't enable overlay on iOS by default
2019-06-18 23:59:58 +02:00
satyajit.happy
cb49d431f4
feat: add cardX options in navigationOptions
2019-06-15 00:06:24 +02:00
Michał Osadnik
2e81890ecb
feat: consider both velocity and position while calculating the next position ( #146 )
...
Co-Authored-By: Satyajit Sahoo <satyajit.happy@gmail.com >
2019-06-14 19:30:49 +02:00
satyajit.happy
2f6576636a
fix: make the header appear static when sibling of headerless screen
2019-06-14 18:56:22 +02:00
Michał Osadnik
72426c2679
feat: integrate react-native-screens ( #145 )
2019-06-14 16:12:26 +02:00
satyajit.happy
ddd112644c
fix: when header mode is screen, disable animations by default
2019-06-14 14:15:06 +02:00