Planning to develop a Blazor/Razor Components application with MDL for the UI in ASP.NET Core 3.0.
Facing an issue where MDL events are getting overridden by Blazor. Want to ensure that MDL JS events, like the ripple effect, still occur while also capturing the event in Blazor for business logic. Essentially, maintaining UX control in MDL and business control in Blazor.
Thinking I might need to let Blazor capture the event, trigger the appropriate MDL JS event (such as onclick), and then proceed with business logic. Lacking JavaScript expertise to figure out the specifics. Have a button with "mdl-js-ripple-event" CSS class but unsure which JS it calls. Knowing this would help integrate it into the Blazor OnClick event.
Thank you!
Demonstration: Code: https://github.com/simonziegler/BlazorMDLComponentTest