Blazored / Modal

A powerful and customizable modal implementation for Blazor applications.
https://blazored.github.io/Modal/
MIT License
786 stars 186 forks source link

Do single rendering of FocusTrap after SetTitle #585

Open heckradr opened 5 months ago

heckradr commented 5 months ago

Fix for the following issue https://github.com/Blazored/Modal/issues/565 and in addition to the closed PR https://github.com/Blazored/Modal/pull/573

With this PR it is possible to use the SetTitle method again. Since only a single re-render is triggered when setting the title, it should not cause any perf issues due to multiple re-rendering.

P.S please forgive me, I'm not that familiar with PRs on GH yet. I hope I did that correctly 😃