I also have the same issue. This is very annoying.
It seems that the focus goes back to where it was prior to the action I did.
For example, if the focus was on the search field and I click on the copy icon, the focus goes back to the search field.
Version 23H2
Windows Feature Experience Pack 1000.22700.1047.0