Hi, thanks a ton for this component.
I'm seeing perf warnings in my Chrome because of the non-passive event handler on touchmove. MDN says the passive flag is basically a promise from the developer to the browser to never call preventDefault in the handler.
How would you feel about a passive boolean property on the ClickOutside component that's passed down to addEventListener?
Hi, thanks a ton for this component.
I'm seeing perf warnings in my Chrome because of the non-passive event handler on
touchmove. MDN says the passive flag is basically a promise from the developer to the browser to never callpreventDefaultin the handler.How would you feel about a
passiveboolean property on the ClickOutside component that's passed down toaddEventListener?