-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tooltip
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Duplicate of (closed) #4892
MatTooltip
triggers with matTooltipTouchGestures
set to auto
(default) or on
break page scrolling on touch devices. When set to either of these values the directive sets touch-action: none
on the trigger, which breaks native page scrolling.
On a page with many tooltip triggers (e.g. dense links) it can be difficult to scroll the page at all.
Setting matTooltipTouchGestures
to off
fixes scrolling, but makes tooltips inaccessible on touch devices.
Reproduction
Reproduction taken from #4892 (comment)
Steps to reproduce:
- Open https://stackblitz.com/edit/angular-ylctyk on a touch device (phone, touch laptop) in Chrome
- Scroll the page by initiating a touch on the white background
- Attempt to scroll the page by initiating a touch on the black box
Expected Behavior
Page scrolls
Actual Behavior
Page does not scroll
Environment
- Angular: Latest Google-internal version
- CDK/Material: Latest Google-internal version
- Browser(s): Chrome 104
- Operating System (e.g. Windows, macOS, Ubuntu): Android
dcaslin, byrondover, pawchu062900, mcost45, martinboue and 1 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tooltip