https://react-ts-m8xqqr.stackblitz.io
https://stackblitz.com/edit/react-ts-m8xqqr?file=App.tsx
sandbox to follow
I have a table and button components When page is loaded initially mousedown on table results focusing on the cell - as expected Then button is clicked Without reloading the page, mousedown on table not resulting focus on the cell - not as expected? Then any key pressed, focus is visible on the cell with the latest mousedown cell
I am trying to understand what is causing this behaviour, especially after clicking on button why mousedown not working as previously on table?
expected: following the button click, when table is clicked focus should be gained
actual: following the button click, when table is clicked focus is lost, and only appears after any key is pressed