[FEAT REQ] Deprecate the events
prop in favor of a openOnClick
prop
#946
Labels
events
prop in favor of a openOnClick
prop
#946
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
In previous versions, the
click
event worked in a way which made sense to have bothhover
andclick
enabled together (you could open on hover, and click on the anchor element to close). Since that behavior changed (clicking the tooltip always opens it, and clicking outside the anchor element closes it), having them both together doesn't do anything (hover
takes precedence).Describe the solution you'd like
We should deprecate the
events
prop and add aopenOnClick
(or some better name that is as clear as this) prop which can be effectively used to toggle between thehover
andclick
events.The text was updated successfully, but these errors were encountered: