Fixed #5194 - Add data-p-unselectable-text attribute on resizing and dragging phases

This commit is contained in:
mertsincan 2024-02-02 00:44:26 +00:00
parent d53dc1edf0
commit d94ceeef19
3 changed files with 4 additions and 2 deletions

View file

@ -673,7 +673,7 @@ export default {
this.$refs.resizeHelper.style.display = 'none';
this.resizeColumn = null;
this.$el.setAttribute('data-p-unselectable-text', 'false');
this.$el.removeAttribute('data-p-unselectable-text');
!this.isUnstyled && DomHandler.removeClass(this.$el, 'p-unselectable-text');
this.unbindColumnResizeEvents();