Files
remanso/src/hooks
Julien Calixte 17f015b686 fix(notes): wait for stacked note element before scrolling on mobile
A single nextTick is not enough for a freshly added stacked note to be
in the DOM, so the mobile scroll target was computed against a null
element. Poll with requestAnimationFrame (mirroring scrollToHashInNote)
and use offsetTop, with an (index + 1) * height fallback.
2026-04-29 10:52:07 +02:00
..
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-04-29 10:34:46 +02:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00
2026-03-28 09:38:55 +01:00