Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the AirshipDropdown component swipeable #4715

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Jan 16, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

@swansontec swansontec force-pushed the william/swipe-dropdown branch from f8ebee4 to 04c0c2a Compare January 16, 2024 16:58
@paullinator paullinator force-pushed the william/swipe-dropdown branch from 6ef6b57 to cfcdc44 Compare January 16, 2024 23:47
Copy link
Member

@paullinator paullinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but need a quick cross review on the addition of the dragbar

<TouchableWithoutFeedback onPress={onPress ?? handleClose}>
<Animated.View style={[styles.body, bodyStyle]}>{children}</Animated.View>
</TouchableWithoutFeedback>
</GestureDetector>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know there's no design for this, but the dropdown should have a horizontal drag bar to indicate draggability like we have on bottom up modals. I pushed an extra commit that implements this

Screenshot 2024-01-16 at 15 49 13

@paullinator paullinator force-pushed the william/swipe-dropdown branch from cfcdc44 to 821b30f Compare January 16, 2024 23:52
@swansontec swansontec force-pushed the william/swipe-dropdown branch from 821b30f to ef80860 Compare January 17, 2024 17:19
@swansontec swansontec merged commit 435537d into develop Jan 17, 2024
2 checks passed
@swansontec swansontec deleted the william/swipe-dropdown branch January 17, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants