Commit Graph

120 Commits

Author SHA1 Message Date
Roman Volosovskyi 2f1f8cd782
remove background from StackViewCard 2019-02-25 13:55:51 +02:00
Roman Volosovskyi 49696d5530
restore version 0.7.0 2019-02-25 13:55:04 +02:00
Brent Vatne 5531b98732
Update HeaderBackButton.js 2019-02-20 12:46:45 -08:00
Mike Judge c1f1dff465 Add support for HeaderBackAllowFontScaling 2019-02-15 15:40:06 -08:00
Mike Judge 36febb8b7e Disable font scaling for the back button as a prequel to making it configurable 2019-02-15 15:27:29 -08:00
Brent Vatne ed57322252 Revert "Header is positioned absolute in Layout layer already"
This reverts commit 553a5f616c.
2019-02-13 20:40:22 -08:00
Roberto Wesley Overdijk 46a619fd24
refactor: Transitioner comment 2019-02-09 16:14:13 +01:00
Roberto Wesley Overdijk fac2462757
fix: Transitioner await onTransitionStart 2019-02-09 16:12:18 +01:00
Andrew Trand f9f279e761 fix: header accessibility fixes (#77) 2019-02-07 12:54:30 +01:00
Brent Vatne cbae912b7f s/onGestureFinish/onGestureEnd 2019-02-05 09:05:48 -08:00
Brent Vatne 49ff151072 Call onGestureBegin when the stack gesture becomes active 2019-02-04 16:36:20 -08:00
Brent Vatne 648578abc1
Merge pull request #71 from vshab/fix/transparent-header-height
Fix transparent header height measurement (Fix #60)
2019-01-18 11:53:34 -08:00
Brent Vatne 52f9bcecd3 Animations interruptible with gesture and comment for more info 2018-12-19 10:03:07 -08:00
Brent Vatne d789cd35f4 isGesturesEnabled -> isGestureEnabled
Name not ideal because option is gesturesEnabled, but grammar
2018-12-19 10:03:07 -08:00
Krzysztof Magiera bbe1fe6cef Prevent previous screen fade out on push/pop on Android 2018-12-19 13:43:06 +01:00
Vladislav Shabanov 553a5f616c Header is positioned absolute in Layout layer already 2018-12-16 21:08:10 +07:00
Eric Vicenti cc9b5e2442 Upgrade react-native, react, jest 2018-12-12 08:24:41 -08:00
Brent Vatne d389b776ca Skip initializing the gesture properties if no width or height are available 2018-12-08 17:57:52 -08:00
yinhf 63df3e7290 Optimize gesture logic, Reduce unnecessary creation of duplicates AnimatedNode 2018-12-06 19:13:15 +08:00
Brent Vatne 0e9dfcaeef Fix crash caused by attempting to access properties on animatedStyle when no screen interpolator
https://github.com/react-navigation/react-navigation-stack/issues/64
2018-11-30 12:40:12 -08:00
Brent Vatne 825ba5b6f5 Fix issue with navigation immediately on mount
https://github.com/react-navigation/react-navigation/issues/5247
2018-11-30 12:04:11 -08:00
Brent Vatne 5780c0e0d1 Use flex on transparent card style so header is respected
I don't understand why you would want a header in this case but the people have spoken
https://github.com/react-navigation/react-navigation-stack/issues/65
2018-11-30 11:54:47 -08:00
Brent Vatne db4dd5bec2 No shadow when transparent 2018-11-30 11:54:40 -08:00
Henry Orozco b6546bfbd9
gestureResponseDistance
Use the values provided by the user, not the values in the constants
2018-11-28 11:03:40 -05:00
Brent Vatne 1c374ae1f1
Update StackViewCard.js 2018-11-26 09:24:47 -08:00
Brendon Sled eb22958703
Removed unneeded check 2018-11-23 10:57:42 -06:00
Brendon Sled a8b35cf58a
Bugfix - Card style background
Fixes issue https://github.com/react-navigation/react-navigation/issues/5253
2018-11-23 08:17:07 -06:00
Brent Vatne 91de665074 Force horizontal inset 2018-11-07 16:48:54 -08:00
Brent Vatne 46b67c7bca Improve UIKit style masking and button opacity 2018-11-05 14:22:35 -08:00
Brent Vatne 301e530a86 Fix formatting 2018-11-03 20:06:44 -07:00
Brent Vatne d9613a7444 Fix incorrect background color leftover from debugging 2018-11-03 20:03:00 -07:00
Brent Vatne bed05879e4 Don't fade the back image on Android, use transparent background color 2018-11-03 14:14:10 -07:00
Brent Vatne b96d1fd9d6
Merge pull request #33 from wakeless/mgall/allow-left-button-to-control-its-own-destiny
Allow headerLeft components to control their own rendering
2018-11-02 10:14:31 -07:00
Brent Vatne 3b1458c1cf Fix linting and typo 2018-10-31 19:23:44 -07:00
Brent Vatne 89a9a4c31d Fix modular back button overflow 2018-10-31 15:48:33 -07:00
Brent Vatne 62dd8e530a Use native driver on borderless button 2018-10-31 15:15:16 -07:00
Brent Vatne 500cacd028 Rename NavigationScenesReducer to just ScenesReducer 2018-10-31 15:12:29 -07:00
Brent Vatne 9b006bc8d3 Use BorderlessButton on iOS and animate the opacity 2018-10-31 15:09:03 -07:00
Brent Vatne d08d584c73 Fix scene reducer test 2018-10-31 14:02:12 -07:00
Brent Vatne e5ac256dc2 Add headerBackgroundTransitionPreset with 'toggle' 'translate' and 'fade' options 2018-10-31 13:39:07 -07:00
Brent Vatne dd58b6cc8f Default to hide hidden header backgrounds 2018-10-31 13:22:03 -07:00
Brent Vatne 8491014b09 Render the PanGestureHandler on Android as well 2018-10-31 12:42:15 -07:00
Eric Vicenti 758fcaa8e4 Header to fade by default
Fixes https://github.com/react-navigation/react-navigation-stack/issues/12
2018-10-31 12:21:04 -07:00
Brent Vatne b7775678fa Improve example and state warning 2018-10-30 13:20:00 -07:00
Brent Vatne c27ed1b4b8 Clean up transitioner a bit, fix issue where state is invalid and warn 2018-10-30 13:08:06 -07:00
Brent Vatne 6dcc317542 Fix lint errors 2018-10-30 09:55:47 -07:00
Brent Vatne 250950d920 Use the first props change while a transition is occuring as the basis of the queued transition
- Subsequent changes are essentially all ignored except for the last one, which is the target
2018-10-29 23:24:47 -07:00
Brent Vatne 41af8e1451 Compute scenes when queued transition starts 2018-10-29 22:13:06 -07:00
Eric Vicenti 7be11251ec fix lint 2018-10-29 20:01:11 -07:00
Eric Vicenti 3fc590353f Avoid completion dispatch when nav state changed 2018-10-29 18:24:25 -07:00