Fix unresponsive navigation menu on mobile #32488
Closed
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.
Fix #28613
Snapper open and close function calls were deferred to catch events correctly after dragging to set the
animating
boolean value correctly so that the snapper would be opened and closed correctly on the next interactionserver/core/src/init.js
Lines 265 to 277 in cf97a8e
These functions were deferred as a part of #23785
There does not seem to be an issue with catching the events and setting the animating boolean value correctly so that the snapper opens and closes as expected
Remarks
The
animating
event will fire every millisecond ad infinitum when tapping to close the menu. The UI still works as expected. This would be fixed by setting thetapToClose
option https://github.com/JoeyAndres/Snap.js#settings-and-defaults on snap.js to false but this would introduce another issue which causes swipe to close to fail on mobile, so this issue remainsThe issue may be fully addressed as a part of #28063