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

'a' element with mailto link opens browser instead of mail program #2991

Open
3 tasks
Michaelschnabel-DM opened this issue Sep 23, 2024 · 0 comments
Open
3 tasks
Labels
bug Something isn't working desktop Suggestions related to the desktop renderer

Comments

@Michaelschnabel-DM
Copy link

Problem

Hi,
i am using an a element in my desktop apps about page like so:

a {
  href: "mailto:support@dioxuslabs.com",
  "support@dioxuslabs.com"
}

But the link keeps opening the browser instead of the default mail program.

Steps To Reproduce

Steps to reproduce the behavior:

  • Create a dioxus desktop app showing an a element with a mailto link
  • start the app
  • click the link

Expected behavior

Clicking the link should open the standard mail program e.g. Outlook instead of the browser.

Screenshots

Environment:

  • Dioxus version: { version = "0.5.6", features = ["desktop"] }
  • Rust version: 1.81
  • OS info: Windows 11
  • App platform: desktop

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@ealmloff ealmloff added bug Something isn't working desktop Suggestions related to the desktop renderer labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop Suggestions related to the desktop renderer
Projects
None yet
Development

No branches or pull requests

2 participants