Commit Graph

229 Commits

Author SHA1 Message Date
satyajit.happy
e8b7937f9e fix: don't enable screens for modal stacks 2019-07-08 02:56:58 +02:00
satyajit.happy
a916729e7d chore: release 2.0.0-alpha.4 2019-07-07 15:23:30 +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
20d0ee53ff chore: release 2.0.0-alpha.3 2019-07-07 14:51:21 +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
satyajit.happy
567df77207 fix: hide overflow in wipe preset 2019-07-06 13:09:04 +02:00
satyajit.happy
8dcf5ee4be chore: upgrade deps 2019-07-06 13:08:18 +02:00
Tomasz Czajęcki
8795e7b660 feat: allow specifying style interpolators in navigationOptions (#155) 2019-07-06 12:41:34 +02:00
satyajit.happy
17044344a7 fix: fix border radius of modal presentation 2019-07-01 18:22:42 +02:00
satyajit.happy
6b1f961543 fix: hide background for unfocused header in fade
Otherwise the header background below shows up when header mode is none
2019-07-01 18:18:41 +02:00
satyajit.happy
7267d2fa6f fix: use opacity in headerStyle 2019-07-01 17:36:45 +02:00
satyajit.happy
43a41f0ae5 fix: fix broken shadows on card 2019-07-01 17:33:42 +02:00
satyajit.happy
a4d489e9c0 refactor: measure back label layout when not truncated 2019-07-01 17:16:18 +02:00
satyajit.happy
5a74aa43af chore: release 2.0.0-alpha.2 2019-06-21 21:56:45 +02:00
satyajit.happy
c6ba6e8c1c feat: add iOS modal presentation style 2019-06-07 15:05:52 +02:00
satyajit.happy
2da09926d5 fix: whitelist supported styles instead of blacklist 2019-06-21 19:34:19 +02:00
satyajit.happy
3750fd7800 fix: make sure components update when descriptor changes 2019-06-21 14:32:03 +02:00
satyajit.happy
b220b0bfa2 fix: support specifying header background color in headerStyle 2019-06-21 13:12:13 +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
309d09c387 chore: release 2.0.0-alpha.1 2019-06-15 00:11:09 +02:00
satyajit.happy
cb49d431f4 feat: add cardX options in navigationOptions 2019-06-15 00:06:24 +02:00
satyajit.happy
de733fa51e feat: add headerBackgroundStyle option 2019-06-14 23:46:48 +02:00
satyajit.happy
f7b1b165b9 feat: add headerBackTitleVisible option to navigation options 2019-06-14 23:29:10 +02:00
satyajit.happy
1b2dcd77d4 fix: fix header tint color not applied 2019-06-14 23:23:45 +02:00
satyajit.happy
60b4b94479 chore: release 2.0.0-alpha.0 2019-06-14 21:05:59 +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
Brent Vatne
c0f279ed8a Fix warnings from expo package in example 2019-06-14 10:17:38 -07:00
satyajit.happy
982c2f1378 chore: disable react-native-screens in the example for now 2019-06-14 19:09:42 +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
2ada0c709b fix: don't set a header height when a custom header is specified 2019-06-14 14:56:58 +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
Satyajit Sahoo
aa8cfc9ce8 fix: tweak the easing for android
Co-Authored-By: Michał Osadnik <micosa97@gmail.com>
2019-06-14 12:16:21 +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
a8f521883a fix: make sure left button isn't bigger than screen width / 2 2019-06-07 11:17:20 +02:00
satyajit.happy
d15cbabaad fix: use a separate shadow view for the cards 2019-06-06 18:25:58 +02:00
satyajit.happy
6a9f6af3ad chore: fix tests and lint 2019-06-06 17:17:42 +02:00
satyajit.happy
b6f9e33c8d refactor: switch to fade animation for header by default 2019-06-06 17:08:09 +02:00
Brent Vatne
d2ef462a9f chore: fix updating to SDK33 2019-06-06 16:46:49 +02:00
Brent Vatne
62db132427 chore: make it run with just yarn 2019-06-06 16:23:57 +02:00
satyajit.happy
b55fc83216 fix: properly normalize velocity 2019-06-06 16:42:20 +02:00