immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Image grid is sometimes messed up

Open bt90 opened this issue 2 years ago • 2 comments

Describe the bug

When scrolling quickly through the demo, sometimes the following glitch occurs:

image

Inspecting the HTML indicates that the timebucket divs are overlapping:

image

Tested with Firefox 108

To Reproduce Steps to reproduce the behavior:

  1. Open https://demo.immich.app/
  2. Quickly scroll down
  3. Wait for the glitch to appear

System

  • Server Version: 1.40.0 (Demo installation visited on 2023-01-02)

bt90 avatar Jan 02 '23 08:01 bt90

Confirm this has been the issue I want to track down since implementing the smart grid system but haven't been able to fine where the state not updating yet. Will look into it in detail in the near future.

alextran1502 avatar Jan 02 '23 15:01 alextran1502

image

Doesn't need to scroll, some times I just open the page and i get this galley. Immich server 1.50.1 with Chrome browser. A reload (ctrl+r) doesn't fix the issue, also (ctrl+shift+r) doesn't do anything to the grid... But reload a couple of times fix the issue...

nicolopozzato avatar Mar 04 '23 19:03 nicolopozzato

Scrolling from bottom to top is almost impossible without causing severe distortion.

bt90 avatar May 06 '23 12:05 bt90

I notice you tested on Firefox, does Chrome do this on your side?

alextran1502 avatar May 06 '23 13:05 alextran1502

I still need to test it with Chrome, but at least the problem is reproducible. It always occurs in the same places in my timeline.

bt90 avatar May 07 '23 16:05 bt90

@bt90 I found the source of the current behavior on main it was due to a recent change of determine the viewport width to set the thumbnail size for mobile view. It cause the rerender of the timeline calculated bucket height

alextran1502 avatar May 08 '23 19:05 alextran1502

Resolved in #2666

alextran1502 avatar Jun 08 '23 15:06 alextran1502