Skip to content

Conversation

@jacbn
Copy link
Contributor

@jacbn jacbn commented Sep 25, 2025

Prevents the help tooltip from appearing while not hovered over the target "What can I type in this box?" button, as to prevent it getting in the way of moving a mouse to the input box. Also applies some fixes to tooltips in general to prevent an issue with tooltips appearing/disappearing rapidly.

This bug causes the tooltip to rapidly appear / disappear as the mouse is detected as being over / not over the tooltip focus area. For a reason I can't work out, it seems the tooltip arrow is being excluded from the popper positioning calculation, so it overlaps commonly. This change adds a `pointer-events: none` to the arrow, so that it can't cause this issue. I would add this to the whole tooltip, but this behaviour is not wanted on `autohide={false}` tooltips, so this is a quick compromise for now.
@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.34%. Comparing base (955b53b) to head (c9c28f3).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1747   +/-   ##
=======================================
  Coverage   41.34%   41.34%           
=======================================
  Files         533      533           
  Lines       23430    23430           
  Branches     7757     7757           
=======================================
  Hits         9688     9688           
  Misses      13108    13108           
  Partials      634      634           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@axlewin axlewin merged commit cacb83f into main Sep 26, 2025
10 checks passed
@axlewin axlewin deleted the hotfix/question-help-popup-focus branch September 26, 2025 14:47
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.

3 participants