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

[5.x]: Translatable indicator tooltips are immediately dismissed if something other than the t9n indicator has focus when its opened #16530

Closed
mmikkel opened this issue Jan 25, 2025 · 2 comments · Fixed by #16561
Assignees
Labels

Comments

@mmikkel
Copy link
Contributor

mmikkel commented Jan 25, 2025

What happened?

Description

When a translatable field's t9n indicator is clicked while focus is currently set to something else on the page, the indicator's tooltip will briefly display before being automatically dismissed. The author then has to click the indicator a second time to bring up a persistent tooltip.

CleanShot.2025-01-25.at.20.17.04.mp4

Steps to reproduce

  1. Navigate to the edit page for an element with a translatable field
  2. Focus something other than the t9n indicator on the page, e.g. a field input
  3. Click on the t9n indicator for the translatable field
  4. Notice that the t9n indicator tooltip briefly appears, before being automatically dismissed

Expected behavior

When clicking a translatable indicator, the tooltip should appear and stay visible until the user puts focus somewhere else on the page.

Actual behavior

If something other than the translatable indicator itself is focused, clicking the indicator will bring up its tooltip but it will almost immediately disappear.

Craft CMS version

5.6.1

PHP version

No response

Operating system and version

macOS 14.6.1, MS Edge 131.0.2903.112

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

@brianjhanson
Copy link
Contributor

Thanks for reporting! I've opened #16561 to address this

@brandonkelly
Copy link
Member

Craft 5.6.2 is out now with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants