<A> should support "mailto:" hrefs #284
Replies: 8 comments 1 reply
-
but |
Beta Was this translation helpful? Give feedback.
-
@russelgal I'm not sure what you mean. I use Solid Start's |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@russelgal I understand the current behavior, and that's what I'm doing as my workaround. This is a proposal to improve Btw, I just realized there's a similar problem with anchor links (e.g. |
Beta Was this translation helpful? Give feedback.
-
Again, |
Beta Was this translation helpful? Give feedback.
-
@boehs it's not wrong. I'm just proposing that other types of href values are supported, just like external values already are. I'm not sure if it's accidental or intentional, but right now you can use This property of As I explained, this same pattern could extend to other href value types like It's just a proposal, so I 100% understand if there are arguments against it, but please do try to understand what I'm asking for here :P |
Beta Was this translation helpful? Give feedback.
-
Thanks, this is helpful |
Beta Was this translation helpful? Give feedback.
-
Adding more bails out on seems unnecessary. Like if you are using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using this component to render links in some MDX content, which is convenient since it works out of the box for any kind of links, internal or external. However, it doesn't seem to handle mailto href values appropriately, forcing me to create a custom wrapper. I think it should probably be supported out of the box, along with "tel" and other similar patterns.
Beta Was this translation helpful? Give feedback.
All reactions