Skip to content

[BUG] [v1.1.0] Auxiliary sidebar resize handle: no hover highlight after resize if pointer re-entered while dragging #39587

@tubel-hi

Description

@tubel-hi

Project

ide

Description

onMouseEnter only applies the hover background when !isResizing(). During an active resize, moving off the handle and back does not get a successful hover application on re-entry. When mouseup ends the resize, the pointer can still be over the handle, but the browser does not fire another mouseenter, so the imperative hover never runs. onMouseLeave is similarly gated, so cleanup during resize is also skipped—combined with the reactive background returning to "transparent" when isResizing() becomes false, the handle stays visually idle even though the cursor is on it.

Error Message

Debug Logs

System Information

OS: Ubuntu
Context: Bounty Challenge v1.1.0

Screenshots

7.webm

Steps to Reproduce

Mousedown on the auxiliary sidebar resize handle to start resizing.
While still holding the button, move the pointer off the handle briefly, then back onto it.
Mouseup to finish resizing while the cursor remains over the handle.

Expected Behavior

After resize ends, if the pointer is over the handle, the same hover highlight as a normal hover (e.g. primary tint) should appear.

Actual Behavior

No hover highlight: mouseenter was ignored for the whole resize, and no new mouseenter fires when resizing stops.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions