element-web/test/unit-tests/accessibility
R Midhun Suresh 0faf298e05
Fix React 18 strict mode breaking spotlight search
This code originally held an array of refs. But these refs were unset
just before sorting leading to errors.

For the fix, I've used a callback ref to add/remove the DOM elements
to/from the array in state. This way there's nothing that could possibly
mutate just before sort.
2024-11-13 00:28:32 +05:30
..
KeyboardShortcutUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LandmarkNavigation-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RovingTabIndex-test.tsx Fix React 18 strict mode breaking spotlight search 2024-11-13 00:28:32 +05:30