Windows 11's window management is brilliant, nothing comes close out of the box (of course i3/sway/etc. can be customized to match it). Windows tablets as laptops are generally more usable than iPads as laptops due to stuff like multi-user support, filesystem access and much better window management. As tablets (media consumption + creative work like drawing) iPads are better.
This foldable device can be a nice primary machine while an iPad can't replace a laptop for most users. Macbooks are of course fine devices, but I think folding can become a nice feature when it matures.
It's possible that your iPad is not performant enough to both render that popup and and deal with keystrokes at the same time. I'd recommend the Pro iPads for any kind of serious work.