frigate/web/src/views
Claude 84f3b16461
Fix DraggableGridLayout initial height collapse due to nullish coalescing bug
availableWidth starts at 0 (not null/undefined) before ResizeObserver fires.
The ?? operator passes 0 through instead of falling back to window.innerWidth,
making cellHeight negative and causing react-grid-layout to render a ~10px
container. The overflow-x-hidden div then becomes an implicit scroll container,
producing the 'cards squeezed in a small rectangle' symptom.

Changing ?? to || makes 0 trigger the window.innerWidth fallback, giving a
reasonable initial rowHeight until the real container width is measured.

https://claude.ai/code/session_01H1sqbcFmtwwsdNTJcJHJWd
2026-03-15 10:15:52 +00:00
..
button Implement debug live view as part of live (#20270) 2025-09-29 18:45:55 -05:00
classification Fix i18n keys (#21814) 2026-01-28 13:55:38 -07:00
events Revert "Claude/fix video stretch history ans qf" 2026-03-15 13:37:31 +11:00
explore Miscellaneous fixes (0.17 beta) (#21431) 2025-12-26 08:45:03 -06:00
live Fix DraggableGridLayout initial height collapse due to nullish coalescing bug 2026-03-15 10:15:52 +00:00
motion-search Frontend fixes (#22294) 2026-03-06 13:41:15 -07:00
recording revert Update RecordingView.tsx 2026-03-15 14:31:11 +11:00
search Update frontend to React 19 (#22275) 2026-03-05 07:42:38 -07:00
settings UI tweaks (#22405) 2026-03-12 16:57:42 -06:00
system Merge branch 'blakeblackshear:dev' into dev 2026-03-15 13:55:05 +11:00