Closed valdrinkoshi closed 8 years ago
Fixes #61 by computing what's the offset caused by the zoom. I don't have a clue on how to write unit tests for this one, I've tested it manually on nexus device and macos :/ Open to suggestions!
Chatted offline with @bicknellr & concluded this is a bug on chrome where window.pageYOffset value is wrong when page is zoomed.
window.pageYOffset
Fixes #61 by computing what's the offset caused by the zoom. I don't have a clue on how to write unit tests for this one, I've tested it manually on nexus device and macos :/ Open to suggestions!