Michal Osadnik
bdda89d8ee
fix: set correct pointer events when active prop changes
2019-08-18 21:56:54 +01:00
satyajit.happy
aab51ebaca
fix: add left offset in header only if a left button is rendered
2019-08-22 05:07:08 +05:30
Michal Osadnik
dceba42ffa
fix: bunch of fixes regarding reliability of callbacks
2019-08-18 17:18:43 +01:00
satyajit.happy
71285a69ab
fix: use MaskedView from @react-native-community/masked-view
2019-08-01 02:59:46 +02:00
Arnas
d97be9afd5
fix: use a shadow instead of a border for header on iOS
...
closes #97
2019-08-01 02:28:25 +02: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
ab64129911
feat: add a canGoBack prop to header back button
2019-07-17 14:19:00 +02:00
satyajit.happy
03c129ef23
fix: don't ignore headerLeft if specified. fixes #164
2019-07-17 14:10:28 +02: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
b685233f3a
feat: support a function for headerTitle
2019-07-10 17:00:28 +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
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
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
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
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
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