-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] continually raising tauri://file-drop-hover
event and providing current cursor position
#8156
Comments
Any updates on this? Reactive drag hovering is only possible if this is implemented somehow and |
+1 |
Have you seen https://github.com/crabnebula-dev/drag-rs |
@denjell-crabnebula I'm not sure that repo pertains to this. This is an issue with Tauri 2.0 (1.0 drop event doesn't even have cursor pos iirc) and to my most recent knowledge, drag-rs only supports 1.x and is only for initiating a drag, not handling dragover or drop events. |
@amrbashir I see that Wry has had the necessary changes made, any progress on the Tauri side of things? |
being worked on in #9100 |
Describe the problem
i am working on an app which is available to highlight some specified html elements while dragging & dropping files (and i need the absolute file path). But i found that
tauri://file-drop-hover
event only happens once when moving file from outside into inside of the window, and did not raise again while moving inside the winodow, Is it possible to continually raisetauri://file-drop-hover
and tell me the newly cursor position?BTW: I need the absolute path of the dropped file, it is not a solution to disable
fileDropEnabled
since the chromium native drag & drop feature does not giving me that. or maybe there is some other solution?Describe the solution you'd like
continually raising
tauri://file-drop-hover
and providing current cursor positionAlternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: