Skip to content
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

Tooltip inside element to prevent page growth/cropping? #201

Open
Kaoru8 opened this issue Dec 30, 2021 · 0 comments
Open

Tooltip inside element to prevent page growth/cropping? #201

Kaoru8 opened this issue Dec 30, 2021 · 0 comments

Comments

@Kaoru8
Copy link

Kaoru8 commented Dec 30, 2021

Is there a way to display the tooltip inside the element it's assigned to, instead of to one side/corner of it? My issue is that no matter how I position it, it ends up extending the page either horizontally or vertically, introducing extra scrollbars which is extremely undesirable. Can't simply set overflow:hidden either, because that will crop the tooltip entirely for some of the items. I wouldn't mind displaying it over/inside the item instead, which would solve my issue. I only need to hover over items 1% of the time anyway, and even then I could just set a lower opacity for the tooltip to still see the underlying content if I need to.

Tried changing a few position attributes myself, but didn't manage to get the desired behavior. Should be fairly easy to do though, right? Any guidance?

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

No branches or pull requests

1 participant