Merge pull request #4314 from Dmytro-Lukashenko/fix/fix-dialog-getcomputedstyle-error
Fix/fix dialog getComputedStyle errorpull/4343/head
commit
bf2aa1dbdd
|
@ -323,9 +323,9 @@ export default {
|
|||
let leftPos = offset.left + deltaX;
|
||||
let topPos = offset.top + deltaY;
|
||||
let viewport = DomHandler.getViewport();
|
||||
let getComputedStyle = getComputedStyle(this.container);
|
||||
let marginLeft = parseFloat(getComputedStyle.marginLeft);
|
||||
let marginTop = parseFloat(getComputedStyle.marginTop);
|
||||
let containerComputedStyle = getComputedStyle(this.container);
|
||||
let marginLeft = parseFloat(containerComputedStyle.marginLeft);
|
||||
let marginTop = parseFloat(containerComputedStyle.marginTop);
|
||||
|
||||
this.container.style.position = 'fixed';
|
||||
|
||||
|
|
Loading…
Reference in New Issue