[GH-ISSUE #335] [Issue]: Chat sidebar folder expand/collapse and drag/reorder glitch #143

Closed
opened 2026-10-20 17:25:36 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ghost on GitHub (May 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/335

Summary

The chat sidebar folder UI has two distinct issues: (1) a visual glitch during expand/collapse where the header row stretches and action buttons jump out of position, and (2) unintended text selection during drag-to-reorder operations.

Expected behavior

Glitch Issue

Folder contents should expand/collapse smoothly without causing the folder header row to stretch or the rename/delete buttons to shift out of position. The header row should remain visually stable.

Drag/Reorder Issue

Dragging a folder to reorder should not cause the folder name text of other folders to become selected. Text selection should only occur when explicitly selected by the user.

Actual behavior

Glitch Issue

When toggling a folder's collapsed state, the folder header row itself animates incorrectly, appearing stretched or compressed. The rename (pencil) and delete (trash) icon buttons jump below their expected position before snapping back into place.

Drag/Reorder Issue

When dragging a folder to reorder, the browser's native text selection activates on the folder name text of nearby folders as they shift during the drag animation. This causes unintended text selection of folder names.

Steps to reproduce

Glitch Issue

  1. Open the chat sidebar
  2. Create or select a folder containing one or more chat entries
  3. Expand the folder
  4. The row stretches/glitches and the action buttons shift out of alignment before settling
  5. Collapse the folder and observe the same glitch in reverse

Drag/Reorder Issue

  1. Open the chat sidebar with multiple folders
  2. Hover over a folder to reveal the drag handle (grip icon on the left)
  3. Start dragging the folder by pressing the grip handle
  4. As the folder is dragged and other folders shift position, observe that folder name text becomes selected unintentionally

Environment

  • Marinara Engine version: v1.5.6
  • Install type: source
  • OS + version: Fedora Server 42
  • Browser or app shell: Windows 11 - Microsoft Edge

Logs, screenshots, or video

Glitch Issue

https://github.com/user-attachments/assets/a80ff2a3-2748-4a70-86a9-db3277f6524f

Drag/Reorder Issue

https://github.com/user-attachments/assets/98028650-326b-4f5e-a7d0-8f2d18b775c8

Originally created by @ghost on GitHub (May 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/335 ## Summary The chat sidebar folder UI has two distinct issues: (1) a visual glitch during expand/collapse where the header row stretches and action buttons jump out of position, and (2) unintended text selection during drag-to-reorder operations. ## Expected behavior ### Glitch Issue Folder contents should expand/collapse smoothly without causing the folder header row to stretch or the rename/delete buttons to shift out of position. The header row should remain visually stable. ### Drag/Reorder Issue Dragging a folder to reorder should not cause the folder name text of other folders to become selected. Text selection should only occur when explicitly selected by the user. ## Actual behavior ### Glitch Issue When toggling a folder's collapsed state, the folder header row itself animates incorrectly, appearing stretched or compressed. The rename (pencil) and delete (trash) icon buttons jump below their expected position before snapping back into place. ### Drag/Reorder Issue When dragging a folder to reorder, the browser's native text selection activates on the folder name text of nearby folders as they shift during the drag animation. This causes unintended text selection of folder names. ## Steps to reproduce ### Glitch Issue 1. Open the chat sidebar 2. Create or select a folder containing one or more chat entries 3. Expand the folder 4. The row stretches/glitches and the action buttons shift out of alignment before settling 5. Collapse the folder and observe the same glitch in reverse ### Drag/Reorder Issue 1. Open the chat sidebar with multiple folders 2. Hover over a folder to reveal the drag handle (grip icon on the left) 3. Start dragging the folder by pressing the grip handle 4. As the folder is dragged and other folders shift position, observe that folder name text becomes selected unintentionally ## Environment - Marinara Engine version: v1.5.6 - Install type: source - OS + version: Fedora Server 42 - Browser or app shell: Windows 11 - Microsoft Edge ## Logs, screenshots, or video ### Glitch Issue https://github.com/user-attachments/assets/a80ff2a3-2748-4a70-86a9-db3277f6524f ### Drag/Reorder Issue https://github.com/user-attachments/assets/98028650-326b-4f5e-a7d0-8f2d18b775c8
bsakaguchi 2026-10-20 17:25:36 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#143
No description provided.