Skip to content

fix: More ariakit upgrade fixes#817

Merged
gnapse merged 3 commits intonextfrom
ernesto/more-ariakit-upgrade-fixes
Mar 7, 2024
Merged

fix: More ariakit upgrade fixes#817
gnapse merged 3 commits intonextfrom
ernesto/more-ariakit-upgrade-fixes

Conversation

@gnapse
Copy link
Copy Markdown
Contributor

@gnapse gnapse commented Mar 7, 2024

Short description

The changes here fix two issues we detected while attempting to upgrade to this version of Reactist and the new Ariakit in todoist-web:

  1. 🟠 Opening the settings via keyboard while a menu is expanded, keeps the menu on top of the settings modal (https://share.cleanshot.com/SjvnsDLz)

    Screen recording

    CleanShot.202024-02-16.20at.2014.00.26.mp4

  2. 🟠 Clicking with the mouse outside a tooltip to dismiss it and then hovering buttons will keep the tooltips rendered indefinitely (https://share.cleanshot.com/Y4mt2xWT)

    Screen recording

    CleanShot.202024-02-16.20at.2014.14.15.mp4

PR Checklist

  • Executed npm run validate and made sure no errors / warnings were shown
  • Described changes in CHANGELOG.md
  • Bumped version in package.json and package-lock.json (npm --no-git-tag-version version <major|minor|patch>) ref
  • Reviewed and approved Chromatic visual regression tests in CI

@gnapse gnapse self-assigned this Mar 7, 2024
@gnapse gnapse force-pushed the ernesto/more-ariakit-upgrade-fixes branch from f9bb117 to 354f53f Compare March 7, 2024 13:18
@gnapse gnapse merged commit c95df9a into next Mar 7, 2024
@gnapse gnapse deleted the ernesto/more-ariakit-upgrade-fixes branch March 7, 2024 13:29
nats12 pushed a commit that referenced this pull request May 31, 2024
* Remove hack to hide tooltips when clicking to dismiss a button popover
* Simplify Menu's onItemSelect handling internally
* Hide menus when they lose focus
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