Skip to content

Commit

Permalink
Removed onFocus functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
s77rt committed Jan 6, 2023
1 parent 2c6bd3e commit 6c91027
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/Tooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ class Tooltip extends PureComponent {
<View
ref={el => this.wrapperView = el}
style={this.props.containerStyles}
onFocus={this.showTooltip}
onBlur={this.hideTooltip}
focusable
>
Expand All @@ -174,15 +173,6 @@ class Tooltip extends PureComponent {
ref(el);
}
},
onFocus: (el) => {
this.showTooltip();

// Call the original onFocus, if any
const {onFocus} = this.props.children;
if (_.isFunction(onFocus)) {
onFocus(el);
}
},
onBlur: (el) => {
this.hideTooltip();

Expand Down

0 comments on commit 6c91027

Please sign in to comment.