Skip to content
New issue

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

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

Already on GitHub? # to your account

Dynamically change tooltip attachment point #53

Open
kirillminiaev opened this issue Jan 11, 2016 · 5 comments
Open

Dynamically change tooltip attachment point #53

kirillminiaev opened this issue Jan 11, 2016 · 5 comments

Comments

@kirillminiaev
Copy link

Is it possible to modify a tooltip's attachment point dynamically? Case-in-point: when I resize my window size, some of my tooltips fall outside the window bounds. Can tooltips do one of two things:

(1) Listen to window size and modify their horizontal position to never fall outside the window bounds
(2) Allow me to put a resize listener (jQuery) and when the window is of a specific size, change the tooltip to a different attachment point (i.e. change 'top center' to 'top right')

Thank you.

@dottodot
Copy link

This is very much needed, other tooltips I've used before automatically adjust the position if it's going to display off screen, but this doesn't.

@QuentinRoy
Copy link

I agree this is a must have. Tooltips should not end up outside the viewport.

@peksipatongeis
Copy link

+1 for this

@musha68k
Copy link

musha68k commented Mar 2, 2016

I might need this too, so who of you is implementing it? Dottodot? ;P

@robclancy
Copy link

I expected this to be a standard feature and part of the point in using a library instead of rolling your own :/

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

No branches or pull requests

6 participants