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

Blazor render SVG onclick event #14005

Closed
hannespreishuber opened this issue Sep 15, 2019 · 2 comments
Closed

Blazor render SVG onclick event #14005

hannespreishuber opened this issue Sep 15, 2019 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-svg ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Milestone

Comments

@hannespreishuber
Copy link

hannespreishuber commented Sep 15, 2019

this doenst compile within a SVG tree (with html elements it works)
Base is a s componentBase - Rendertree Event
SVG is displayed

builder.AddAttribute(++seq, "onclick", onclick);
...

 public void onclick(UIMouseEventArgs e)
        {
            System.Diagnostics.Debug.WriteLine("Hello");

        }
@pranavkm pranavkm added the area-blazor Includes: Blazor, Razor Components label Sep 16, 2019
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @hannespreishuber.
We'll look into adding support for this in our next major release.

@mkArtakMSFT mkArtakMSFT added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Sep 16, 2019
@mkArtakMSFT mkArtakMSFT added this to the 5.0.0-preview1 milestone Sep 16, 2019
@mkArtakMSFT
Copy link
Member

Closing as we will be tackling this as part of #18271

@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label May 14, 2020
@ghost ghost added the Status: Resolved label May 14, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jun 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-svg ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants