Tauri's onDragDropEvent gives strange y coordinate? #11141
-
Hello, my app has file drag and drop features. I need to get the location where a file is dropped. the file drop event has a position, but its coordinates are strange. the y value is often negative, and doesn't make sense to me. The document doesn't say anything about its coordinates https://beta.tauri.app/reference/javascript/api/namespacewebview/#dragdropevent ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seems like this is the devtools console's fault. If you close it, and then drop files the coordinate are correct (reopen it afterwards to check). Feel free to open an actual github issue for this but i'm not sure if we can really fix that. |
Beta Was this translation helpful? Give feedback.
It seems like this is the devtools console's fault. If you close it, and then drop files the coordinate are correct (reopen it afterwards to check).
Feel free to open an actual github issue for this but i'm not sure if we can really fix that.