Skip to content

Commit

Permalink
fixes dialog error on drag (#5247)
Browse files Browse the repository at this point in the history
  • Loading branch information
navedqb authored Feb 9, 2024
1 parent 9777f4c commit 971a346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/dialog/Dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
},
Expand Down

0 comments on commit 971a346

Please sign in to comment.