CupertinoContextMenu (iOS 13)#43918
Merged
justinmc merged 5 commits intoflutter:masterfrom Nov 5, 2019
Merged
Conversation
…e-packages version error
This was referenced Nov 4, 2019
Closed
Contributor
Author
|
I'm going to merge this without an LGTM on here since the old PR I opened this from already had reviews: #37778 |
Inconnu08
pushed a commit
to Inconnu08/flutter
that referenced
this pull request
Nov 26, 2019
Adds the CupertinoContextMenu widget for iOS 13 support.
xu-baolin
reviewed
Nov 20, 2020
| } | ||
| } | ||
|
|
||
| void _onTapDown(TapDownDetails details) { |
Contributor
Author
There was a problem hiding this comment.
If I remember correctly, the animation needs to start immediately on tap down. I wait for kLongPressTimeout until I consider the context menu to be fully open. If the tap is canceled before then, then it animates back and doesn't open.
The context menu is effectively opened on long press, not on tap, even though that's not the gesture I'm listening to.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This was reopened from #37778 (I had crazy test errors that for some reason only went away when I checked out a fresh branch).## Description
This PR implements the
CupertinoContextMenuwidget.Related Issues
Closes #34728
Tests