Closed jpovixwm closed 6 months ago
Not intentional. I didn't do it because I evidently misread the browser compatibility chart and thought it's not supported on most browsers.
Do you wanna send a PR? I can do it too but don't want to steal the credit for the fix :)
Steps to reproduce
I believe this behavior is unintentional. If it's intentional, I personally find it confusing and unexpected.
It is caused by this code: https://github.com/openscopeproject/TrguiNG/blob/b09f6e9f2207da05632af07347376fca478b6310/src/components/tables/common.tsx#L661-L663
And can potentially be fixed by calling
HTMLElement.focus()
like this:Though I'm not sure if this change won't negatively influence some other scenario, maybe there are cases where the name column/cell should indeed be scrolled into view.
Also reproducible in the Files tab.