Closing core-toggle in safari webkit with escape key press does not work.
Steps to reproduce:
Locate test closes nested toggle with esc
Remove if (browserName === 'webkit') test.skip()
Run the test with webkit as browser
Expected result
Should first escape key-press close the nested core-toggle and on subsequent escape key-press close the root core-toggle
Actual result
Does not close core-suggest
Note:
Debugging the issue points to a focus management issue; document.activeElement points to core-toggle button in chromium and firefox, while webkit points to html body, that being after having expanded all the core-toggles.
Closing core-toggle in safari webkit with escape key press does not work.
Steps to reproduce:
closes nested toggle with esc
if (browserName === 'webkit') test.skip()
Expected result Should first escape key-press close the nested core-toggle and on subsequent escape key-press close the root core-toggle
Actual result Does not close core-suggest
Note: Debugging the issue points to a focus management issue;
document.activeElement
points to core-toggle button in chromium and firefox, while webkit points to html body, that being after having expanded all the core-toggles.