Open notcome opened 9 years ago
Should be the problem of hover-tooltips.
So, in hover-tooltips.js
Changing it to the following solves the issue:
//pixelPt.top += editor.displayBuffer.getScrollTop();
pixelPt.top += editor.getScrollTop();
//pixelPt.left += editor.displayBuffer.getScrollLeft();
pixelPt.left += editor.getScrollLeft();
I don't have a TypeScript development environment at hand and am a bit unfamiliar with it, so unfortunately I couldn't send a pull request.
Thanks for pointing out, I believe this is fixed by https://github.com/ranjitjhala/hover-tooltips/pull/3 ?
Can you just upgrade the package -- apm install hover-tooltips-hdevtools
-- and let me know if this is fixed? Thanks!
@ranjitjhala that worked for me, thanks!
[Enter steps to reproduce below:]
Seems to be a upstream API broken? I can find some similar issue, like this and this.
A useful comment from the later:
Atom Version: 1.1.0 System: Mac OS X 10.11 Thrown From: hover-tooltips-hdevtools package, v0.8.0
Stack Trace
Uncaught TypeError: editor.displayBuffer.getScrollTop is not a function
Commands
Config
Installed Packages