Bug Quote's Click-to-expand & spoilers

There is a bug in this version
X

Xon

Guest
I've had bug reports from users that quote's click-to-expand feature doesn't reliably trigger for quotes in spoilers or custom bb-codes which hide & then show content.

Tracing through the javascript, the check() function gives up after ~2.2 seconds and then after that the mutation observer just isn't firing as expected.

I've replicated this semi-reliably with the spoiler tag:




Spoiler
Spoiler
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
Click to expand...

Read more

Continue reading...