Repository navigation
Conversation
…panel With the detail panel open, the panel takes whatever width the grid's columns leave, so each step of the slider changed the panel's width, the toolbar's, and so where the slider itself was: it jumped out from under the pointer and the value bounced. The panel's width is now held from pointer down until the slider is let go, then settles to fit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been 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.
Requested by Rachel · project thread
The bug
With the detail panel open, dragging the tile size slider makes the slider jump out from under the pointer, and the value bounces back and forth.
The detail panel takes whatever width the grid's columns leave. Each slider step changes the column width, so it also changes the panel's width. That changes the toolbar's width, and with it where the slider sits on screen. The pointer ends up over a different point on the track, so the value changes again.
The fix
The slider calls a new
holdPanel()fromusePanelFiton pointer down. That holds the panel at its current width until the pointer is let go anywhere (or the drag is cancelled). While it's held,fitkeeps that width the same way it already does mid-way through a drag of the panel's edge. On release the panel settles to fit the new columns, as it does after an edge drag.Two files:
web/src/panelFit.tsand the slider's@pointerdowninweb/src/App.vue. Following AGENTS.md, there's no NEWS entry because this is a fix.Checked
npm run build(vue-tsc and vite) passes on top of currentmain(2.1.1).🤖 Generated with Claude Code