We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03b855 commit 10e3190Copy full SHA for 10e3190
2 files changed
.changes/link-stop-propagation.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch
3
4
+
5
+Allow preventing opening the default browser on a click on an `<a target="_blank">` element via `stopImmediatePropagation()`.
core/tauri/scripts/core.js
@@ -112,8 +112,7 @@
112
}
113
target = target.parentElement
114
115
- },
116
- true
+ }
117
)
118
119
@@ -206,8 +205,8 @@
206
205
options:
207
typeof options === 'string'
208
? {
209
- title: options
210
- }
+ title: options
211
: options
212
213
})
0 commit comments