You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
taking a look at this. the bug is in DrawerContent — its useEffect has data in the dependency array, so any time data changes it re-fetches form state and resets the drawer. LinkEditor's registerUpdateListener fires on every lexical update (including autosave), which calls setStateData with fresh node fields — changing the data prop and triggering the reset. fix: skip setStateData while the drawer is open.
Activity
harsha-cpp commentedon Jun 9, 2026
taking a look at this. the bug is in
DrawerContent— itsuseEffecthasdatain the dependency array, so any timedatachanges it re-fetches form state and resets the drawer.LinkEditor'sregisterUpdateListenerfires on every lexical update (including autosave), which callssetStateDatawith fresh node fields — changing thedataprop and triggering the reset. fix: skipsetStateDatawhile the drawer is open.mathieusouflis commentedon Jul 6, 2026
Hi, having the same issue.