Просмотр исходного кода

Merge pull request #255 from smiclea/fix-tooltip

Fix tooltip not showing the first time
Dorin Paslaru 8 лет назад
Родитель
Сommit
f0f0ce3d6e
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/components/organisms/WizardOptions/WizardOptions.jsx

+ 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)
   }