Table: Fixed shaking table.

This commit is contained in:
Liril 2017-03-16 18:27:46 +08:00 committed by 杨奕
parent 726873de75
commit 88af7a1a1e

View File

@ -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();