DioxusLabs / DioxusLabs/dioxus
Mailto link not working on desktop platform
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Steps to reproduce**
1. `dx new app`
2. Default platform is **desktop**
3. Add `a { href: "mailto:some@email.com", "Click" }` to `main.rs`
4. `dx run --platform desktop`
5. Click the link
**Expected behavior**
Clicking the link should open the standard mail program e.g. Outlook instead of the browser.
**Actual behavior**
The browser opens with an empty tab
**Environment**
- `dx --version` : dioxus 0.7.5 (d027e26)
- `dioxus = { version = "0.7.1", features = [] }`
- `rustc --version` : rustc 1.94.0
- Windows 11
Same behavior in 0.7.4. When running `dx run --platform web`, it works fine.
Possibly related to:
- https://github.com/DioxusLabs/dioxus/pull/4282
- https://github.com/DioxusLabs/dioxus/pull/4415
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.