I have a totally simple React sandbox https://codesandbox.io/s/musing-glitter-wgj13s?file=/src/App.js:335-349 It's supposed for the button First to focus after clicking the Second one and vice versa. Unfortunately the blue border is not showing around the focused button. Is anybody able to explain why?
Edit: It seems to be the case just on Chrome (105.0.5195.125) and Firefox(104.0.2 (64-bit)). Works well on Safari(15.6.1 (17613.3.9.1.16)). I'm on MacOS Monterey 12.5.1