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

Prevent tooltips from disappearing #4315

Closed
pdonias opened this issue Jun 28, 2019 · 1 comment
Closed

Prevent tooltips from disappearing #4315

pdonias opened this issue Jun 28, 2019 · 1 comment

Comments

@pdonias
Copy link
Member

pdonias commented Jun 28, 2019

A Tooltip disappears when its children change, which seems to be a good behaviour to avoid having ghost tooltips because the mouse never "left" the area:

componentWillReceiveProps(props) {
if (props.children !== this.props.children) {
this._removeListeners()
}
}

_removeListeners() {
const node = this._node
this._hideTooltip()

But when the new children are in the same position, we need to keep the tooltip.

@olivierlambert olivierlambert added this to the v6 milestone Dec 24, 2020
@pdonias
Copy link
Member Author

pdonias commented Oct 3, 2024

Fixed by #8031

@pdonias pdonias closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants