element-web-Github/test
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
..
@types Change license (#13) 2024-09-09 13:57:16 +00:00
app-tests Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
components/views/dialogs/security Refactor CreateCrossSigningDialog (#28218) 2024-10-22 11:42:07 +00:00
setup Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
test-utils Show message type prefix in thread root & reply previews (#28361) 2024-11-05 11:34:42 +00:00
unit-tests Fix React 18 strict mode breaking spotlight search 2024-11-13 00:28:32 +05:30
CreateCrossSigning-test.ts Refactor CreateCrossSigningDialog (#28218) 2024-10-22 11:42:07 +00:00
globalSetup.ts Change license (#13) 2024-09-09 13:57:16 +00:00
jest-mocks.ts Update license files 2024-09-06 15:44:31 +01:00
setupTests.ts Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
slowReporter.cjs Change license (#13) 2024-09-09 13:57:16 +00:00