Do not track dialog enter key handler only works the first time it's opened |
||||
Issue descriptionJust noticed: Do not track dialog enter key handler only works the first time it's opened. Subsequent openings seem to ignore the enter key. I'm not sure if it's a bug with cr-dialog or due to the uncommon way the DNT dialog is not restamped.
,
Sep 20 2017
Could you please provide any test file /jsfiddle and steps to reproduce the issue from TE End. Thanks!
,
Sep 20 2017
@tommycli: I am able to reproduce the keyboard behavior you are describing. Could not reproduce the runtime error though. Looked briefly and it does not seem like a cr-dialog bug (the listener is correctly attached, verified by firing a keypress event manually from the dev console). The 2nd time the dialog is opened it does not receive any 'keypress' events, which indicates that it might not be focused after it is opened, which seems like a Blink bug. Obviously a minimal jsfiddle example would be helpful to isolate the problem here. @hdodda, repro steps: Turn on "do not track" in the privacy section, a dialog comes up. Hit "Enter", it closes. Turn off and back on "do not track". Same dialog comes up. Hit "Enter" again, this time it does not do anything.
,
Sep 21
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||
►
Sign in to add a comment |
||||
Comment 1 by tommycli@chromium.org
, Jul 27 2017