Blazored / Toast

A JavaScript free toast library for Blazor and Razor Component applications
https://blazored.github.io/Toast/
MIT License
662 stars 92 forks source link

Change encapsultion level of ToastList in BlazoredToasts.razor.cs to protected. #232

Open bcheung4589 opened 11 months ago

bcheung4589 commented 11 months ago

Is your feature request related to a problem? Please describe. I would like to try and see if I can make the Toasts working in Blazor .NET 8. The problem seems to be the rendermodes and restrictions on root components/how it renders. I would like to give a shot and see if I can make it work by simply inheriting BlazoredToasts and implement it in a custom razor component fit for Blazor 8. But for this I need access to List ToastList in BlazoredToasts.razor.cs, which is private.

Describe the solution you'd like Make ToastList protected so we can make custom BlazoredToasts razor component using the internal ToastList.

Describe alternatives you've considered None to be honest because the actual alternative is making a whole copy, which I dont think is worth it. If this feature request is denied, Ill just wait.

Additional context Link to code.

bcheung4589 commented 11 months ago

Any response? Its been 5 days but this issue doesnt seem to be that big of a impact/issue?