tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.12k stars 2.57k forks source link

[feat] Add forward option to `setIgnoreCursorEvents` #6164

Open 92thunder opened 1 year ago

92thunder commented 1 year ago

Describe the problem

I am developing an app that uses a webview with setIgnoreCursorEvents: true and transparent: true set. I want to change the UI dynamically by mouseenter, mouseleave events in WebviewWindow. But WebviewWindow does not listen events, so I cannot implement that.

Describe the solution you'd like

Add forward option to setIgnoresetIgnoreCursorEvents. https://www.electronjs.org/docs/latest/api/browser-window#winsetignoremouseeventsignore-options

Alternatives considered

No response

Additional context

No response

muhajirdev commented 1 year ago

Did you find a solution @92thunder ?

ayangweb commented 1 year ago

Hey @92thunder 👋, Is there any new progress on this issue?

92thunder commented 1 year ago

@muhajirdev @ayangweb Sorry, I had closed this issue as there had been no responses for a while and I no longer needed the feature myself. Should I reopen it?

FabianLars commented 1 year ago

Yes, let's re-open it. (No promises that we can make this work though)

ayangweb commented 1 year ago

@muhajirdev @ayangweb Sorry, I had closed this issue as there had been no responses for a while and I no longer needed the feature myself. Should I reopen it?

Thanks for the reply, that's a shame!

ayangweb commented 1 year ago

Yes, let's re-open it. (No promises that we can make this work though)

Come on come on, this feature is really important

zf-moth commented 12 months ago

It would really be awesome to have this feature implemented. I would love to get rid of electron.

Andrew-web-coder commented 9 months ago

Still waiting, really need this!!!

will5933 commented 3 months ago

It would really be awesome to have this feature implemented. I would love to get rid of electron. 😂