We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
backdropClick emits with a delay on touch devices on cdk Dialog. It would be great to have immediate feedback.
backdropClick
I kind fellow developer diesieben07, pointed out setting touch-action: manipulation; on backdrop element fixes the issue.
touch-action: manipulation;
Visible even on https://material.angular.io/cdk/dialog/examples when accessing from mobile or responsive simulation
backdropClick emits immediately
emit is delayed by about a second
_ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/
| | | | |/ _
Angular CLI: 19.2.9 Node: 20.18.0 Package Manager: pnpm 8.14.1 OS: darwin arm64
Angular: 19.2.8 ... animations, common, compiler, compiler-cli, core, forms ... localize, platform-browser, platform-browser-dynamic ... platform-server, router, service-worker
@angular-devkit/architect 0.1902.9 (cli-only) @angular-devkit/build-angular 19.2.9 @angular-devkit/core 19.2.9 (cli-only) @angular-devkit/schematics 19.2.9 (cli-only) @angular/cdk 19.2.11 @angular/cli 19.2.9 @angular/ssr 19.2.9 @schematics/angular 19.2.9 (cli-only) rxjs 7.5.7 typescript 5.6.3
The text was updated successfully, but these errors were encountered:
fix(cdk/overlay): reduce touch interaction delay on backdrop
1c1d734
Sets `touch-action: manipulation` on the overlay backdrop to reduced the tap delay on touch devices. Fixes angular#30965.
crisbeto
Successfully merging a pull request may close this issue.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
backdropClick
emits with a delay on touch devices on cdk Dialog. It would be great to have immediate feedback.I kind fellow developer diesieben07, pointed out setting
touch-action: manipulation;
on backdrop element fixes the issue.Reproduction
Visible even on https://material.angular.io/cdk/dialog/examples when accessing from mobile or responsive simulation
Expected Behavior
backdropClick emits immediately
Actual Behavior
emit is delayed by about a second
Environment
/ △ \ | '_ \ /
| | | | |/ _
| '__| | | | | | |/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Angular CLI: 19.2.9
Node: 20.18.0
Package Manager: pnpm 8.14.1
OS: darwin arm64
Angular: 19.2.8
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker
Package Version
@angular-devkit/architect 0.1902.9 (cli-only)
@angular-devkit/build-angular 19.2.9
@angular-devkit/core 19.2.9 (cli-only)
@angular-devkit/schematics 19.2.9 (cli-only)
@angular/cdk 19.2.11
@angular/cli 19.2.9
@angular/ssr 19.2.9
@schematics/angular 19.2.9 (cli-only)
rxjs 7.5.7
typescript 5.6.3
The text was updated successfully, but these errors were encountered: