release: 0.60.3 (fix/popover-hover-persist)
This commit is contained in:
@@ -440,12 +440,12 @@ function PopoverSurfaceInner({
|
|||||||
positioned element is essential: the popIn keyframe animates `transform`, which would
|
positioned element is essential: the popIn keyframe animates `transform`, which would
|
||||||
otherwise override Floating UI's `transform: translate(x,y)` and park the popover at (0,0)
|
otherwise override Floating UI's `transform: translate(x,y)` and park the popover at (0,0)
|
||||||
for the animation's duration — the "flash in the top-left corner" bug. */}
|
for the animation's duration — the "flash in the top-left corner" bug. */}
|
||||||
<div
|
<div className={className} style={style}>
|
||||||
className={className}
|
{/* Intentionally NO onMouseLeave hover-reset: when the pointer leaves, the last-hovered row
|
||||||
style={style}
|
stays highlighted (feels natural, and a menu with a free-text input like ChannelTags — where
|
||||||
// Pointer left the menu → drop the hover highlight so it returns to the keyboard position.
|
the field swallows arrow keys, so there is no list-nav — has nothing to reclaim it otherwise,
|
||||||
onMouseLeave={() => setHoverIndex(null)}
|
so it used to snap back to the first item). Keyboard nav / typeahead take the highlight back
|
||||||
>
|
by nulling hoverIndex in onNavigate/onMatch above. */}
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -14,6 +14,13 @@ export interface ReleaseEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const RELEASE_NOTES: ReleaseEntry[] = [
|
export const RELEASE_NOTES: ReleaseEntry[] = [
|
||||||
|
{
|
||||||
|
version: "0.60.3",
|
||||||
|
date: "2026-08-08",
|
||||||
|
fixes: [
|
||||||
|
"In a menu, the highlight now stays on the row you last hovered when you move the pointer off it, instead of snapping back to the first item.",
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
version: "0.60.2",
|
version: "0.60.2",
|
||||||
date: "2026-08-08",
|
date: "2026-08-08",
|
||||||
|
|||||||
Reference in New Issue
Block a user