bug(sidebar): resize handle drag never ends on mouseup — sidebar stays stuck to the cursor until page refresh

Author: someakaCreated Oct 1, 2026Updated Oct 1, 2026

Summary

The left sidebar resize still works while dragging, but the mouse-release event is not registered: once the resize handle is clicked and dragged, the sidebar keeps following the cursor after the mouse button is released, and stays stuck until the page is refreshed.

Steps to reproduce

  1. Open the WebUI.
  2. Drag the left sidebar resize handle to adjust the width.
  3. Release the mouse button.

Expected

The resize operation ends on mouse release; the sidebar stays at the new width and the cursor returns to normal.

Actual

The sidebar remains attached to the cursor after mouseup — any mouse movement keeps resizing the panel. The mouseup/pointerup event does not terminate the drag. Only a full page refresh releases it.

Notes

  • The resize itself works while dragging.
  • Suspected area, not diagnosed: the end-of-drag handling — either the mouseup/pointerup listener is not firing, or the drag state is never cleared on release.