Skip to content
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

fix: clicking on prevent defaulted A tags in dekstop live preview opens browser tab #1997

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

abose
Copy link
Member

@abose abose commented Dec 18, 2024

Fixes #1996

In tauri desktop builds, we tap into <a> tag clicks to open browser tabs with tauri api. But in some cases like in the referenced issue, we should not do that if the page programmatically handles the click. So added a check for that.

@abose abose merged commit ca16b50 into main Dec 18, 2024
17 of 18 checks passed
@abose abose deleted the k branch December 18, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic import (Photoswipe 5.x) does not work in Live Preview
1 participant