Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page gets stuck when developer tools is open #58

Open
wecing opened this issue Aug 17, 2013 · 1 comment
Open

Page gets stuck when developer tools is open #58

wecing opened this issue Aug 17, 2013 · 1 comment

Comments

@wecing
Copy link
Contributor

wecing commented Aug 17, 2013

Steps to reproduce:

  1. open a random site, e.g. google.com
  2. inspect element
  3. 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...

@wecing
Copy link
Contributor Author

wecing commented Aug 30, 2013

Alright I see what you are doing there. It's weird that ":scrollable" is treated as a pure css selector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant