-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Hover popups always seem to go up, even for first line of file (going offscreen) #10051
Comments
@DanTup The UI code that renders the hovers doesn't care about where the hover comes from, but cares about the height of the hover. Is it possible to share here the values you provide to a hover? (I'm thinking it is a very large text blob?) |
@alexandrudima You're right, it was large. We've since trimmed it down to 20 lines and I think it's been fine since. I think there's an open feature request to add scrolling somewhere (which I think would be a better long-term solution). If you need a specific example to repro, let me know and I'll find one. |
@joaomoreno I think we've added scrolling in the hover since this issue was created, right ? |
@alexandrudima Talk about digging. 👴 |
For some reason, the hover information provided by my extension always goes up and gets chopped off; even though the built-in TypeScript one does not!
TypeScript (left) has the hover popup appear below the mouse, whereas mine (right) shows it above.
My code looks like this (I've checked but can't see anything on the related classes that might let me control this):
The text was updated successfully, but these errors were encountered: