When using KDE Plasma on Wayland, background programs frequently accessing the clipboard cause focus stealing. The specific symptoms include context menus and sub-menus closing automatically.
Workaround: Closing the background clipboard synchronization app fixes the issue (in my case, this specific program was the cause).