mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
fix(client/attachments): scroll padding reducing in size after visiting attachments
This commit is contained in:
parent
ed373107c2
commit
11932353f7
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user