ViChrome
ViChrome copied to clipboard
Page gets stuck when developer tools is open
Steps to reproduce:
- open a random site, e.g. google.com
- inspect element
- after developer tools box is opened, click on the page (anywhere is fine)
Now the whole page should be stuck.
I took a look at the source code (again! yay!), found the issue actually comes from this line:
@scrollee = $(e.target).closest(":scrollable").get(0)
I don't know what :scrollable is; google doesn't give me an answer neither. But calling
document.body.webkitMatchesSelector(':scrollable')
on any page should always give you a "DOM Exception 12".
I tried to fix it, but don't know how to implement the functionality without the mysterious :scrollable(Seriously, what is it?). So now it's your turn, good luck...
Alright I see what you are doing there. It's weird that ":scrollable" is treated as a pure css selector.