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
satyajit.happy
7f99f6f7ca
fix: handle RTL properly
2019-06-14 13:56:36 +02:00
satyajit.happy
6a2dfa1695
fix: use pure component for stack items
2019-06-13 23:02:15 +02:00
osdnk
6484394dd7
feat: add comments
2019-06-11 19:58:36 +02:00
osdnk
9b99822a3e
feat: make listeners reliable
2019-06-11 19:56:30 +02:00
satyajit.happy
6b2079735b
refactor: keep transition states locally and implement animated replace
2019-06-08 01:18:48 +02:00
satyajit.happy
8f95076102
fix: properly set pointerEvents on the views
2019-06-07 12:02:43 +02:00
satyajit.happy
d15cbabaad
fix: use a separate shadow view for the cards
2019-06-06 18:25:58 +02:00
satyajit.happy
b55fc83216
fix: properly normalize velocity
2019-06-06 16:42:20 +02:00
satyajit.happy
fd5d4d05dd
refactor: refactor and perf improvements
2019-06-06 12:32:33 +02:00
satyajit.happy
06b3867e17
refactor: rewrite based on reanimated
2019-05-25 00:58:11 +02:00