JavaScript causes Firefox Responsive Design Mode (Ctrl+Shift+M) not to toggle
Categories
(DevTools :: Responsive Design Mode, defect)
Tracking
(Not tracked)
People
(Reporter: vegemann7, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
I added an audio player JavaScript to my page.
Actual results:
The JavaScript now causes Firefox Responsive Design Mode not to toggle, BUT only if I use (Ctrl+Shift+M) on the keyboard. It works fine if I click on Tools>Web Developer>Responsive Design Mode.
Expected results:
(Ctrl+Shift+M) on the keyboard should toggle Responsive Design Mode.
Visit page here: https://www.boulderdrumstudio.com/marilyn_moses.htm
JavaScript found on line 183.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Responsive Design Mode' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Unless a shortcut is a critical escape hatch, the page (and javascript living on the page) should be allowed to catch keyboard events and prevent default behavior. This is the case for "M" which is used by the audio player to mute/unmute.
Description
•