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
Hello, It seems that after last update i should explicitly call enableOnClickOutside method to enable functionality if initially disableOnClickOutside property was false.
It's not the way it used to work before and this change breaks my code.
I think methods enableOnClickOutside/disableOnClickOutside should be called in componentDidUpdate hook on disableOnClickOutside prop change.
I can prepare PR if you don't mind.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello, It seems that after last update i should explicitly call
enableOnClickOutside
method to enable functionality if initiallydisableOnClickOutside
property wasfalse
.It's not the way it used to work before and this change breaks my code.
I think methods
enableOnClickOutside/disableOnClickOutside
should be called in componentDidUpdate hook ondisableOnClickOutside
prop change.I can prepare PR if you don't mind.
Thanks in advance.
The text was updated successfully, but these errors were encountered: