Skip to content

Conversation

@wemmyo
Copy link
Contributor

@wemmyo wemmyo commented Oct 2, 2025

  • Disable focusItemOnHover from floating-ui useListNavigation
  • Remove style used to override focus ring flicker

Closes #5626

@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2025

🦋 Changeset detected

Latest commit: 08ce5ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@salt-ds/core Patch
@salt-ds/countries Patch
@salt-ds/data-grid Patch
@salt-ds/embla-carousel Patch
@salt-ds/lab Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
saltdesignsystem Ready Ready Preview Comment Oct 6, 2025 2:35pm

@wemmyo wemmyo marked this pull request as ready for review October 3, 2025 08:37
@wemmyo wemmyo changed the title Disable MenuBase focus on hover Fix intermittent focus ring on hover Oct 6, 2025
@wemmyo
Copy link
Contributor Author

wemmyo commented Oct 6, 2025

Moved to draft to resolve mouse and keyboard focus continuity

@wemmyo wemmyo marked this pull request as draft October 6, 2025 15:41

return (
<MenuTriggerContext.Provider
value={{ triggersSubmenu: true, blurActive: focusInside && openState }}
Copy link
Contributor

@mark-tate mark-tate Oct 10, 2025

Choose a reason for hiding this comment

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

On this one... you may have a warning as focusInside is pulled from useMenuContext but no longer used, after this deletion.

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.

Hovering over a menu item in React versions < 18 cause a focus-ring to flicker

3 participants