You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @smskin@sindresorhus I've been looking into this issue and it seems that when the mobile view is enabled, the window.outerWidth and window.innerWidth are always equal. The same is happening for window.innerHeight and window.outerHeight which are always equal.
i.e. the widthThreshold and heightThreshold are always false https://github.com/sindresorhus/devtools-detect/blob/master/index.js#L28-L29
This seems to be why the current implementation does not work.
Does not determine the state of devtools when mobile view is enabled.
![image](https://user-images.githubusercontent.com/3227797/56316094-1e9ff700-6162-11e9-97ad-09947b01b768.png)
IssueHunt Summary
Backers (Total: $60.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips
The text was updated successfully, but these errors were encountered: