Commit Graph

74 Commits

Author SHA1 Message Date
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
Brent Vatne 77cdfabe8c If we are increasing the number of scenes, remove any scene from the list that
is no longer in the navigation state
2018-10-26 09:19:03 -07:00
Brent Vatne b79aaefcfc Fix programmatic back when gesture is in progress 2018-10-22 13:49:00 -07:00
Brent Vatne 3987c2c8eb Fix firing transition end events when nested state change occurs 2018-10-22 13:02:40 -07:00
Brent Vatne d860a8d4ce Revert attempted fix for nested state change freeze 2018-10-22 12:06:09 -07:00
Brent Vatne ee6c6aa08e Fix bug where transitioner freezes when nested state change occurs in the middle of transition 2018-10-17 15:26:13 -07:00
Brent Vatne 5ef3bd4392 Fix lint errors 2018-10-17 13:19:31 -07:00
Brent Vatne 3c9d77fbf0 No need to add PanGestureHandler on Android, no gestures there anyhow 2018-10-17 13:13:34 -07:00
Brent Vatne 4f4b8e4d41 Support inverted gesture in modal 2018-10-17 13:11:38 -07:00
Brent Vatne 0bcfcef7ab Support gestureResponseDistance 2018-10-17 12:41:42 -07:00
Brent Vatne 4c94d0104e Remove unnecessary styles from header 2018-10-16 20:01:30 -07:00
Brent Vatne df88f4f296 Tweak Android transitions 2018-10-15 17:16:17 -07:00
Brent Vatne 7de86a16c7 Fix typo 2018-10-15 17:16:08 -07:00
Brent Vatne 0ad814c529 Export assets for easy caching in Expo 2018-10-15 13:19:09 -07:00
Brent Vatne 43832f9873 Fix modular header back button to default to showing Back and respect visibility prop 2018-10-12 12:39:44 -07:00
Brent Vatne 7eab1628d1 Tweak spring configuration, in particular to make them settle more quickly 2018-10-12 12:38:36 -07:00
Brent Vatne 5f157cbc16 Fix lint errors 2018-10-12 11:34:03 -07:00
Brent Vatne 6b3c2edf58 Depend on core and native 2018-10-12 11:25:12 -07:00
Brent Vatne f3f46d0db4 Add options to opt-in/out of card overlay and shadow 2018-10-11 17:04:23 -07:00
Brent Vatne af7d3986a6 Pass through all stack config to router 2018-10-11 12:03:40 -07:00
Brent Vatne bc166f85ad Tweak opacity of overlay 2018-10-11 12:01:42 -07:00
Brent Vatne bf5a8411f8
Merge pull request #34 from pzatorski/feature/back-button-accessibility
change accessibilityLabel for HeaderBackButton - Fix iOS voiceover
2018-10-10 14:00:04 -07:00
Brent Vatne a8991529de Use react-native-gesture-handler's PanGestureHandler instead of PanResponder 2018-10-10 13:53:02 -07:00
Ashoat Tevosyan 10dc9fe767 Don't call onTransitionStart if unspecified 2018-10-04 21:23:38 -04:00
Patryk Zatorski e976a5a315 changed accessibilityLabel 2018-10-04 20:09:22 +01:00
Brent Vatne a380437f35
Merge pull request #28 from janicduplessis/transparent-card
Add transparentCard option to fix cards with a transparent bg when using screens
2018-09-24 13:32:16 -07:00
Brent Vatne 6189822835 Vendor clamp and fix lint errors / jest snapshots 2018-09-24 13:12:08 -07:00
Janic Duplessis 3a4dfadc52 Add transparentCard option to fix cards with a transparent bg when using screens 2018-09-24 15:11:34 -04:00
Brent Vatne dab7f2515e
Merge pull request #21 from backmeupplz/master
Make sure header back button is accessible
2018-09-24 09:46:11 -07:00
Brent Vatne 5313e5d2c1
Merge pull request #23 from michael-palmes/iphonexs-max-and-iphonexr-support
Added window dimensions for iPhone XS Max and iPhone XR
2018-09-24 09:41:56 -07:00
Brent Vatne 8951557608
Merge pull request #27 from react-navigation/@ericvicenti/stack-mount-complete
Stack nav completion on mount
2018-09-24 09:40:09 -07:00
Eric Vicenti b3c2ebb9a9 Stack nav completion on mount
StackView is responsible for calling the navigation completion action when `state.isTransitioning` is set. This fix handles that case when the stack is first mounting.

This had caused the following issue when observing the events.. because isTransitioning was never switched to false, didFocus never gets called: https://github.com/react-navigation/react-navigation/issues/4867
2018-09-23 12:08:18 -07:00
Michael Palmes 93784154c5 Added constants for the two iPhone X/XS/XR dimensions and comments 2018-09-16 10:24:59 -06:00
Michael Palmes 1b2e064ead Added window dimensions for iPhone XS Max and iPhone XR 2018-09-15 23:26:03 -06:00
Eric Newbury 630a0a9b26
add overflow hidden to stack navigator layout 2018-09-14 17:56:30 -04:00
Nikita Kolmogorov 32565c873b
Update HeaderBackButton.js 2018-09-14 14:35:01 -07:00
Nikita Kolmogorov 3532fdf21c
Update HeaderBackButton.js 2018-09-14 14:28:53 -07:00
Brent Vatne 457081a673 Clamp interpolated values 2018-09-14 15:26:37 +02:00
Brent Vatne 4e9a160632 Run prettier 2018-09-14 12:49:15 +02:00
Brent Vatne 2cdbb8c264 Release 0.4.0 2018-09-14 12:34:15 +02:00
Brent Vatne 0d80df96fe
Merge pull request #20 from janicduplessis/no-neg-margin
Use padding instead of negative margin in StackViewLayout
2018-09-14 12:33:57 +02:00
Brent Vatne 6e13e684d3
Update StackViewLayout.js 2018-09-14 12:32:55 +02:00
Brent Vatne 358ddcfb41
Update StackViewCard.js 2018-09-14 12:30:11 +02:00
Janic Duplessis 7da0b8cc41 Use padding instead of negative margin in StackViewLayout 2018-09-13 22:54:53 -04:00
Janic Duplessis 614bcfaee3 Fix black screen during the pop animation when using rn-screens 2018-09-12 16:55:58 -04:00
Brent Vatne 6410c16143
Merge pull request #17 from enagorny/enagorny-fix-warning-text
fix warning text type 'ui-kit' -> 'uikit'
2018-09-11 15:30:01 +01:00