studio icon indicating copy to clipboard operation
studio copied to clipboard

Horizontal scroll jumps and never ends

Open Errorname opened this issue 8 months ago • 12 comments

Here is a video of me scrolling horizontally in one of my table:

https://github.com/user-attachments/assets/50409901-4b96-4320-be87-1ca4f8f7ac02

As you can see, there are two issues:

  1. It "jumps" from one column to another (especially on columns with large json data)
  2. I can never reach the end, I can continue scrolling taking me back to the previous-to-last column just before reaching the end

Errorname avatar Mar 31 '26 15:03 Errorname

same thing here

stephanrudenko avatar Apr 03 '26 17:04 stephanrudenko

I am experiencing the same thing.

ziamohseni avatar Apr 09 '26 06:04 ziamohseni

Same here, could you set a config to disable these jumps on wide columns?

anilalanofc avatar Apr 09 '26 10:04 anilalanofc

same issue here

david-sfernandes avatar Apr 13 '26 14:04 david-sfernandes

I've also been experiencing this.

canasmh avatar May 07 '26 01:05 canasmh

Same issue here, giving this issue a ping :)

MarkusLoeffler01 avatar Jun 09 '26 10:06 MarkusLoeffler01

This is still happening, the whole ui flow on the prisma studio web view is unusable with this bug.

Mal-Jovi avatar Jul 01 '26 04:07 Mal-Jovi

https://github.com/user-attachments/assets/e2905a39-1eee-46af-baae-475e6f8ed9b6

Same issue here! Sometimes it does manage to scroll to the end, and when I click on a field to actually edit it, it jumps back to the left.

sthivaios avatar Jul 04 '26 00:07 sthivaios

Same here.

AlpineSinger avatar Jul 13 '26 18:07 AlpineSinger

Is this going to be solved at some point?

nachomglz avatar Jul 14 '26 10:07 nachomglz

This scrolling issue is quite frustrating. Regardless of what I try, I am unable to view the fields located past the wider column.

kmrpankaj avatar Jul 15 '26 20:07 kmrpankaj

Hi @Errorname — thanks for the clear video, and apologies to everyone here for how long this one was open. We tracked it down to three interacting bugs in the grid's column virtualization: the mounted column window lagged the real scroll position (the jumpy repaints on wide JSON columns), a focused-cell auto-scroll effect kept writing the scroll position back toward the focused column (why you could never reach the end, and why clicking a cell yanked the viewport back), and a pinned-column offset under-rendered the right edge.

A fix is up in #1544 — verified against a 61-column table: smooth scroll all the way to the last column, and clicking cells no longer resets the viewport. It should ship in the next release once reviewed.

sorenbs avatar Jul 18 '26 07:07 sorenbs