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
I have realised that onClickOutside and onEscapeKey doesn't update callbacks.
I did some research, and I think it because useEffect in Effect.tsx doesn't get deps for update those funcs (here)
Or maybe there is another way to do this?
The text was updated successfully, but these errors were encountered:
Released as 3.1.1beta, as long as I haven't found time to test it in isolation, so gonna test in some external projects first, before removing a beta flag.
Join the club.
Hello @theKashey,
I have realised that
onClickOutside
andonEscapeKey
doesn't update callbacks.I did some research, and I think it because
useEffect
inEffect.tsx
doesn't get deps for update those funcs (here)Or maybe there is another way to do this?
The text was updated successfully, but these errors were encountered: