Repository navigation
⬆️ chore(deps): upgrade @base-ui/react to 1.8.0 - #644
Merged
Merged
Conversation
1.7.0 removed `store` from the public handle typings and made Root attach its store in an effect, so PopoverGroup/TooltipGroup now follow the live store through `subscribeStore` instead of capturing `handle.store` once. 1.7.0 also regressed hover handoff between detached triggers wrapping antd Buttons (mui/base-ui#5416); the fix (mui/base-ui#5442) shipped in 1.8.0. Claude-Session: https://claude.ai/code/session_01M6WjoVy32S48WjQnMsFDuB
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 8, 2026
## [5.40.2](v5.40.1...v5.40.2) (2026-09-08) ### 🎫 Chores * **deps**: Upgrade @base-ui/react to 1.8.0, closes [#644](#644) [mui/base-ui#5442](mui/base-ui#5442) ([ca25fd6](ca25fd6)) * **release**: [email protected] [skip ci] ([930f623](930f623)) ### 🐛 Bug Fixes * **code-editor**: Align highlight layer with textarea layout, closes [#643](#643) ([384b444](384b444))
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
@base-ui/reacthas been pinned to 1.6.0 since a78cdf6. Two things blocked the bump:storefrom the publicPopoverHandle/TooltipHandletypings (moved intoBasePopupHandle, still present at runtime).PopoverGroupandTooltipGroupreadhandle.storedirectly, which is what broke type-check on the renovate PR Update dependency @base-ui/react to v1.8.0 - autoclosed #601.What
@base-ui/react1.6.0 → 1.8.0.usePopupHandleStore(handle)insrc/utils/destroyOnInvalidActiveTriggerElement.ts: subscribes to the handle'ssubscribeStoreviauseSyncExternalStoreand returns the current store. This is not just a typing workaround: since 1.7 aRootattaches its store in an effect, sohandle.storeat render time is an inert fallback. Capturing it once would leaveopenpermanentlyfalseand silently disable the destroy-on-invalid-trigger and zero-origin guards. This mirrors base-ui's own internalusePopupHandleStoreused by detached triggers.PopoverGroup/TooltipGroupconsume the hook instead ofhandle.store.Verification
pnpm type-check: baseline on 1.6.0 had 0 errors; after the bump only the 4handle.storeTS2339 errors appeared; 0 after the fix.pnpm vitest run: 173 files / 1353 tests pass.Tooltip group
group-remove-triggerdemo: tooltip destroyed on trigger unmount and ondisplay:none.Popover group hover handoff, re-run with the issue's original conditions (antd Button triggers, 8-step pointer glide, assert after 2s), against 1.7.0 as a control:
The 1.7.0 column matches the matrix in [popover] Hover handoff between detached triggers sharing a handle silently drops the popup (regression in 1.7.0) mui/base-ui#5416 exactly.
Supersedes #601.
https://claude.ai/code/session_01M6WjoVy32S48WjQnMsFDuB