From 09e97d9d6f92f3f2364012b12bbb2146c3d9dc72 Mon Sep 17 00:00:00 2001 From: meowtec Date: Fri, 11 Aug 2017 17:09:29 +0800 Subject: [PATCH] update popper object when need --- modules/renderer/components/Popper.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/renderer/components/Popper.tsx b/modules/renderer/components/Popper.tsx index faf6a66..cbc300c 100644 --- a/modules/renderer/components/Popper.tsx +++ b/modules/renderer/components/Popper.tsx @@ -80,6 +80,10 @@ export default class Popper extends Root { } } + popperDidUpdate() { + this.popper.update() + } + onmouseover = () => { clearTimeout(this.leaveTimer)