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
Currently, the modifier calls floating-ui's autoUpdate in its modify method, which will run whenever an input changes. The method captures the cleanup function that autoUpdate returns and registers it as a destructor, but that can still result in multiple autoUpdates being registered.
Instead, the modifier should capture the last cleanup method and call it at the beginning of the modify method, if present. (There will be none captured the first time the modifier instance runs.)
The text was updated successfully, but these errors were encountered:
Currently, the modifier calls floating-ui's
autoUpdate
in itsmodify
method, which will run whenever an input changes. The method captures the cleanup function thatautoUpdate
returns and registers it as a destructor, but that can still result in multiple autoUpdates being registered.Instead, the modifier should capture the last cleanup method and call it at the beginning of the modify method, if present. (There will be none captured the first time the modifier instance runs.)
The text was updated successfully, but these errors were encountered: