We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5448fa5 commit 9d1f71cCopy full SHA for 9d1f71c
1 file changed
frontend/src/lib/components/feed/SavedReader.svelte
@@ -218,13 +218,14 @@
218
}
219
220
221
- // Register keydown on document capture phase so the reader intercepts keys
222
- // before the global keyboard store (which listens on window bubble phase).
223
- // This prevents duplicate tag menus and other shortcut conflicts.
+ // Lock body scroll while reader is open to prevent background list from
+ // scrolling (which can trigger pull-to-refresh prematurely on mobile).
224
onMount(() => {
+ document.body.style.overflow = 'hidden';
225
document.addEventListener('keydown', handleKeydown, true);
226
});
227
onDestroy(() => {
228
+ document.body.style.overflow = '';
229
document.removeEventListener('keydown', handleKeydown, true);
230
231
0 commit comments