mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 19:11:14 +00:00
Tooltip: don't close on blur for interactive panel
This commit is contained in:
@@ -427,7 +427,11 @@ class Tooltip extends Component<TooltipProps, TooltipStates> {
|
||||
}
|
||||
}}
|
||||
onFocus={() => this.handleMouseEnter()}
|
||||
onBlur={() => this.handleMouseLeave()}
|
||||
onBlur={() => {
|
||||
if (!interactive) {
|
||||
this.handleMouseLeave();
|
||||
}
|
||||
}}
|
||||
onMouseEnter={() => this.handleMouseEnter()}
|
||||
onMouseLeave={() => this.handleMouseLeave()}
|
||||
ref={this.triggerNode}>
|
||||
|
||||
Reference in New Issue
Block a user