You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying the new drag and drop feature in Wails and I am having trouble with the class wails-drop-target-active. I am able to drag files to an element that has style --wails-drop-target: drop;, but the element does not get class wails-drop-target-active added to it at any point.
What I tried out:
wails init -n myproject -t vue-ts
Added DragAndDrop: &options.DragAndDrop{EnableFileDrop: true, DisableWebViewDrop: false} to main.go
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying the new drag and drop feature in Wails and I am having trouble with the class
wails-drop-target-active
. I am able to drag files to an element that has style--wails-drop-target: drop;
, but the element does not get classwails-drop-target-active
added to it at any point.What I tried out:
DragAndDrop: &options.DragAndDrop{EnableFileDrop: true, DisableWebViewDrop: false}
to main.goIs this a bug or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions