<A> should support "mailto:" hrefs #284
Replies: 8 comments 2 replies
|
but |
|
@russelgal I'm not sure what you mean. I use Solid Start's |
|
|
|
@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. |
|
Again, |
|
@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 |
|
Thanks, this is helpful |
|
Adding more bails out on seems unnecessary. Like if you are using |
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.
All reactions