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

Allow a bounding rectangle to be set for tooltips, see #249 #258

Closed
wants to merge 1 commit into from

Conversation

kiejo
Copy link
Contributor

@kiejo kiejo commented Mar 9, 2016

Easy way to try this out is to use the following line in the TooltipMenu constructor.

this.tooltip = new Tooltip(pm.wrapper, {direction: "above", getBoundingRect: () => this.pm.wrapper.getBoundingClientRect()})

marijnh added a commit that referenced this pull request Mar 9, 2016
@marijnh
Copy link
Member

marijnh commented Mar 9, 2016

Thanks! Merged as 7d147e0 and followed up with some cosmetic changes in 8c230ae.

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

Successfully merging this pull request may close these issues.

None yet

2 participants