We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6da5af8 + 7d83448 commit 0b15b46Copy full SHA for 0b15b46
src/index.js
@@ -257,7 +257,7 @@ class ReactTooltip extends Component {
257
// If it is focus event or called by ReactTooltip.show, switch to `solid` effect
258
const switchToSolid = e instanceof window.FocusEvent || isGlobalCall
259
260
- // if it need to skip adding hide listener to scroll
+ // if it needs to skip adding hide listener to scroll
261
let scrollHide = true
262
if (e.currentTarget.getAttribute('data-scroll-hide')) {
263
scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true'
0 commit comments