소스 검색

Merge pull request #255 from smiclea/fix-tooltip

Fix tooltip not showing the first time
Dorin Paslaru 8 년 전
부모
커밋
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)
     window.addEventListener('resize', this.handleResize)
   }
   }
 
 
+  componentDidUpdate() {
+    Tooltip.rebuild()
+  }
+
   componentWillUnmount() {
   componentWillUnmount() {
     window.removeEventListener('resize', this.handleResize, false)
     window.removeEventListener('resize', this.handleResize, false)
   }
   }