Skip to content
Discussion options

You must be logged in to vote

Assuming the error really stems from just that code i assume it's the webview.show() line because it may be called before the window was fully created (hence the tauri://created event you may have seen in the docs).
Do you even need that line? If you don't spawn the window with visibile: false this shouldn't do anything anyway. If you do need it, try moving it into the tauri://created event handler.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Xiaobaishushu25
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants