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
If I create a new window from a WebView and attach a listener to it, the events that the listener receives are actually from the parent window.
e.g. if I listen to tauri://move on the child window, the listener fires when the parent window moves.
Reproduction
Run this code in the WebView
functioncreateWindow(){constlabel=Math.random().toString();constwebview=newWebviewWindow(label);windowMap[label]=webview;webview.once('tauri://error',function(){onMessage("Error creating new webview")});webview.listen('tauri://move',event=>console.log(event));}
Move the child window
Nothing appears in the console logs
Move the parent window
Move events are logged in the console.
Expected behavior
I would expect to see the move events of the child window being logged to the console. Not those of the parent.
No we didn't miss it :) Our next branches are closed for over a week now in preparation for the audit changes. This together with us generally focusing on the first RC and the docs doesn't give us much time to triage issues :/
Describe the bug
If I create a new window from a WebView and attach a listener to it, the events that the listener receives are actually from the parent window.
e.g. if I listen to
tauri://move
on the child window, the listener fires when the parent window moves.Reproduction
Expected behavior
I would expect to see the move events of the child window being logged to the console. Not those of the parent.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: