fixes dialog error on drag (#5247)
parent
9777f4c24a
commit
971a346c5f
|
@ -301,7 +301,7 @@ export default {
|
|||
this.lastPageY = event.pageY;
|
||||
|
||||
this.container.style.margin = '0';
|
||||
document.body.setAttribute('data-p-unselectable-text');
|
||||
document.body.setAttribute('data-p-unselectable-text', '');
|
||||
!this.isUnstyled && DomHandler.addClass(document.body, 'p-unselectable-text');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue