fixes dialog error on drag (#5247)

pull/5262/head
navedqb 2024-02-09 16:17:53 +05:30 committed by GitHub
parent 9777f4c24a
commit 971a346c5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
},