Skip to content

onClickOutside and onEscapeKey doesn't update callbacks #17

@makarov906

Description

@makarov906

Hello @theKashey,

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions