mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-04 21:27:52 +08:00
Table: Fixed shaking table.
This commit is contained in:
parent
726873de75
commit
88af7a1a1e
@ -180,7 +180,7 @@
|
|||||||
|
|
||||||
// make sure to apply the popper position before any computation
|
// make sure to apply the popper position before any computation
|
||||||
this.state.position = this._getPosition(this._popper, this._reference);
|
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
|
// fire the first update to position the popper in the right place
|
||||||
this.update();
|
this.update();
|
||||||
|
Loading…
Reference in New Issue
Block a user