-
Notifications
You must be signed in to change notification settings - Fork 276
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
[bug] Click event is triggered twice #2051
Comments
are there any noteworthy messages in the devtools console? does this happen on every template? |
I created the project with the following options. ✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun) I see 4 lines in the network tab in Devtools. Copy all as fetch |
I found if the
|
I checked. There is target="_blank" in the links in index.html. When you delete target="_blank", the web page opens within the application. In this case, it doesn't seem possible to understand that it was trigger twice or once. And I prefer the web page to open in the browser. |
Describe the bug
I followed the steps in the link below. I didn't any change the created files at all.
https://v2.tauri.app/start/create-project/
After the "npm run tauri dev" command the application worked. I clicked on the Tauri icon. Tauri link opens two web pages.
The same problem occurs in the release exe created after the "npm run tauri build -release" command.
Reproduction
Follow the steps in the link on Windows.
https://v2.tauri.app/start/create-project/
Expected behavior
https://tauri.app/ should only be opened once
Full
tauri info
outputStack trace
No response
Additional context
Windows 11 Home 23H2
The text was updated successfully, but these errors were encountered: