react-onclickoutside
react-onclickoutside copied to clipboard
Added reaction on disableOnClickOutside property change
Added reaction on disableOnClickOutside
property change. Activates on false
, deactivates on true
.
Currently this property affects activation only on component’s mount phase
Fix for https://github.com/Pomax/react-onclickoutside/issues/317
bump on this getting merged. i'm currently having to do a work around for the issue this addresses
This will need a rebase, but mostly because v6.9.0 was released in the mean time, which introduced just enough code to require manual code selection.
Sorry for the delay. PR Updated
please merge
+1 on getting this merged.
why closed?
Because time moved on and React completely changed how things are "supposed to be done". Modern React is based on hooks, and https://github.com/Pomax/react-onclickoutside#functional-component-with-usestate-hook explains how to do what this HoC achieved for older versions of React.