you answered the question yourself in your text basically.
the problem are the modern contols.they are still in preview and not here to use in productive apps. i (and many others, even microsoft) do not suggest using modern controls as of now (because of the bugs).
they are not benificial yet and only cause issues in many places, there is no solution to most of the modern controls bugs.
if my answer helped please mark as verified
cheers
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.