[Tooltip] TypeError: Cannot read property 'setAttribute' of null #12371
Labels
bug 🐛
Something doesn't work
component: tooltip
This is the name of the generic UI component, not the React module!
Hi, I've come across strange behavior in tooltip. Following code
throws TypeError: Cannot read property 'setAttribute' of null in [Tooltip]. When you remove autoFocus, everything works fine.
Strangely, this is the case even when [Input] is wrapped in
<div />
. I'm really not sure why exacly is that, but addingif(!this.childrenRef) return;
to line 162 should help.The text was updated successfully, but these errors were encountered: