mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Stop message dialogs jumping around when opened
This commit is contained in:
@@ -65,6 +65,11 @@ was pressed.
|
||||
this.getElementsByClassName('message')[0].textContent = text;
|
||||
|
||||
this.closeCallback = closeCallback;
|
||||
|
||||
// This is necessary to prevent the dialog position changing when it is
|
||||
// displayed.
|
||||
Polymer.dom.flush(); // eslint-disable-line new-cap, no-undef
|
||||
|
||||
this.$.dialog.open();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user