mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4371 - FileUpload: drag over border implementation bug
This commit is contained in:
parent
3aa6915b02
commit
a71edee2fa
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ export default {
|
|||
},
|
||||
onDragOver(event) {
|
||||
if (!this.disabled) {
|
||||
!this.isUnstyled && (this.$refs.content, 'p-fileupload-highlight');
|
||||
!this.isUnstyled && DomHandler.addClass(this.$refs.content, 'p-fileupload-highlight');
|
||||
this.$refs.content.setAttribute('data-p-highlight', true);
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue