Skip to content

Conversation

@megumiimai
Copy link

@megumiimai megumiimai commented Sep 15, 2025

Problem

Currently, when the content inside the tooltip changes dynamically from short text to long text,
the tooltip position remains in its original place.
It does not automatically update its position until the mouse is moved away and hovered again.
before

Solution

This PR fixes the issue so that the tooltip position updates automatically
whenever the content changes, without requiring the user to move the mouse.
after

Result

  • Tooltip now repositions correctly when its content length changes dynamically.
  • No additional user interaction is needed to refresh the tooltip position.

possibly related issue

#23002
... others

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

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.

1 participant