Skip to content

Commit 7faeeda

Browse files
committed
fix(backdrop): disable tap longer after backdrop close
To prevent unwanted clicks from happening, such as an input getting focus after clicking “OK” on a popup, keep the backdrop visible for a longer period of time. The simulated click is what closes the popup’s backdrop, but the native click will still happen 300ms later, which may cause another input to receive focus. Closes #1536
1 parent 06086ee commit 7faeeda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/angular/service/backdrop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function($document) {
7676
el.removeClass('active');
7777
setTimeout(function() {
7878
!backdropHolds && el.removeClass('visible');
79-
}, 100);
79+
}, 400);
8080
}
8181
}
8282

0 commit comments

Comments
 (0)