You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Switch to linkify-react for element Linkification as it handles React subtrees without exploding (#10060
* Switch to linkify-react instead of our faulty implementation Fixes a series of soft crashes where errors include "The node to be removed is not a child of this node." * Improve types * Fix types * Update snapshots * Add test * Fix test
This commit is contained in:
committed by
GitHub
parent
089557005a
commit
2bde31dcff
@@ -62,11 +62,9 @@ exports[`RoomView for a local room in state CREATING should match the snapshot 1
|
||||
<div
|
||||
tabindex="0"
|
||||
>
|
||||
<div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -161,11 +159,9 @@ exports[`RoomView for a local room in state ERROR should match the snapshot 1`]
|
||||
<div
|
||||
tabindex="0"
|
||||
>
|
||||
<div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -356,11 +352,9 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
|
||||
<div
|
||||
tabindex="0"
|
||||
>
|
||||
<div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -623,11 +617,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
|
||||
<div
|
||||
tabindex="0"
|
||||
>
|
||||
<div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
dir="auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user