Przeglądaj źródła

Merge pull request #255 from smiclea/fix-tooltip

Fix tooltip not showing the first time
Dorin Paslaru 8 lat temu
rodzic
commit
f0f0ce3d6e

+ 4 - 0
src/components/organisms/WizardOptions/WizardOptions.jsx

@@ -77,6 +77,10 @@ class WizardOptions extends React.Component<Props> {
     window.addEventListener('resize', this.handleResize)
   }
 
+  componentDidUpdate() {
+    Tooltip.rebuild()
+  }
+
   componentWillUnmount() {
     window.removeEventListener('resize', this.handleResize, false)
   }