Skip to content

Conversation

@CylonicRaider
Copy link
Contributor

Although the Euphoria-side thread depth limit has fallen, React still starts behaving badly when too deeply nested messages appear, leading to looping crashes in certain situations (e.g. showAllReplies enabled or a very deep thread the user posted in), potentially rendering Euphoria entirely unusable.
This avoids the problem by forcing a collapse (disregarding showAllReplies) at a (large) depth as a “safety net” against the crashes.
The user can still risk seeing the remainder of the thread by expanding the collapsed reply section.

The previous version inadvertently turned collapsing into an
all-or-nothing behavior.
Resets the standard message collapsing value when a depth boundary
is encountered, makes the UI work in all combinations, and fixes
some some issues pointed out by the linter.
Apparently, the combination :not(collapsible).expanded is not meant to
be there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant