I decided to switch to compositor from picom to fastcompmgr, I can't type when switching focus to another window when using fastcompmgr if add no-border-for-unselected-clients patch, which if you use picom this doesn't happen
I have tested using fresh install, and got the same result
you can watch here