Javascript – Close React Tooltip at Escape character
Requirement: I am using @react-tooltip 4.2, I need to close it when the user presses escape. Unsuccessful Attempt: <ReactTooltip id={ "tooltip" } effect="solid" role="status" globalEventOff={ ['click', 'escape'] } eventOff="escape"> Some Content </ReactTooltip> What am I doing wrong?