Skip to content

Update tooltip positioning when content updates - #1116

Merged
chandlerprall merged 3 commits into
elastic:masterfrom
chandlerprall:bug/996-tooltip-dynamic-sizing
Aug 29, 2018
Merged

chandlerprall merged 3 commits into
elastic:masterfrom
chandlerprall:bug/996-tooltip-dynamic-sizing

Conversation

@chandlerprall

@chandlerprall chandlerprall commented Aug 15, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #996 by making EuiToolTip listen for DOM changes within the tooltip content and then re-positioning its popover.

I tested this by adding a beforeMessage prop to the copy button example.

@chandlerprall
chandlerprall requested a review from cchaos August 15, 2018 15:32

@cchaos cchaos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Youp, works for me. I couldn't test in IE11 because of #1118

@chandlerprall
chandlerprall merged commit 39c94c1 into elastic:master Aug 29, 2018
@chandlerprall
chandlerprall deleted the bug/996-tooltip-dynamic-sizing branch August 29, 2018 16:20
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.

2 participants