Closed davidjgoss closed 2 years ago
Fixes #138 by using capturing for click events, so that in cases where the clicked element will be unmounted by a local event handler, our handleOnClickOutside is fired first, so we can successfully detect where the element is.
handleOnClickOutside
Fixes #138 by using capturing for click events, so that in cases where the clicked element will be unmounted by a local event handler, our
handleOnClickOutside
is fired first, so we can successfully detect where the element is.