Liril 8 лет назад
Родитель
Сommit
88af7a1a1e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/utils/popper.js

+ 1 - 1
src/utils/popper.js

@@ -180,7 +180,7 @@
 
         // make sure to apply the popper position before any computation
         this.state.position = this._getPosition(this._popper, this._reference);
-        setStyle(this._popper, { position: this.state.position});
+        setStyle(this._popper, { position: this.state.position, top: 0 });
 
         // fire the first update to position the popper in the right place
         this.update();