A supplement to macos comes with an app that regrets the "automatically switch to document to input method" feature.
-Configure app start default input method. -The app switches back and forth, keeping the input method used before the app was cut out. -Custom configuration app default input method, you can lock to use the default input method for each cut. -Floating window support
If the app helps you trouble with input method switching, and you think it is a great app, please start with Star
.