#Unable open nested url in Tauri app

3 messages · Page 1 of 1 (latest)

ornate rover
#

When creating allowing all shell commands, for testing purposes, I can open up a <a> link that I create manually with the default browser.

But when the url is displayed in an email I am rendering, which is nested inside a shadowroot, the link will not activate the href. A custom set onclick event on the same element, will trigger the test console.log event.

versed obsidian
#

I guess the shadowroot does not have (direct) access to the window of the root app, could that be? Similar to how tauri's apis don't work in external websites or iframes

ornate rover
#

Yes the shadow root seems to be the issue. I'll do some more research