Material's custom swipe recognizer sets touch-action: none #6484
Labels
area: many
Area label for issues related to many components
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
The custom recognizers in
GestureConfig
are causingtouch-action: none
to always be added to elements with any hammer event. This is problematic because it will prevent normal scrolling. Theswipe
recognizer seems to be the culprit (with bothpan-y
andpan-x
actions being tied to the recognizer, even though we only wantpan-y
)We should probably only be adding recognizers that correspond to the events being listened for. This would require a (non-breaking) change in
@angular/platform-browser
to pass the event name to thebuildHammer
function.The text was updated successfully, but these errors were encountered: