Disable Device View Keyboard Shortcuts (e.g. 1,2,3,4...)

As I’m building in the designer, sometimes I’ll accidentally type a number and not even know it. Then at some point I’ll notice I switched device view off of the base breakpoint which I then have to figure out how much was done to that other breakpoint vs the base one - it’s SO FRUSTRATING! Is there a way to turn off the number shortcuts to device view? Then this would never happen.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Thanks - so just so I’m clear: I remove ALL keypress event listeners? This won’t have any side effects? Like using ‘Alt+Click’?

Maybe, give it a try.

You can always just refresh the page.