mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 21:29:56 +01:00
fix(client/attachments): scroll padding reducing in size after visiting attachments
This commit is contained in:
@@ -28,7 +28,7 @@ export default function ScrollPadding() {
|
|||||||
refreshHeight();
|
refreshHeight();
|
||||||
|
|
||||||
return () => observer.disconnect();
|
return () => observer.disconnect();
|
||||||
}, [note]); // re-run when note changes
|
}, [ note, isEnabled ]); // re-run when note changes
|
||||||
|
|
||||||
return (isEnabled ?
|
return (isEnabled ?
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user