Welcome to Codidact Meta!
Codidact Meta is the "town hall" (meta-discussion site) for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Functionality clash between original and inset thread in a thread page
Replying to a comment thread can become impossible in its own page (rather than inline under a post) if it is expanded a second time in the same page.
To reproduce:
- Go to the thread page of a comment thread (for example, by pressing "show thread" on the inline version of the thread under a post).
- Expand the post by pressing "Post".
- Scroll to the bottom of the post and see the same thread under the inset post, as the thread title as a blue link.
- Press the link to expand the thread under the inset post, so there is now the original version of the thread at the bottom of the page, and also an inset version of the same thread under the post.
- Under the original (lower down the page) version of the thread, press "Reply to this thread".
- See that the "Your comment" text field opens under the inset thread, rather than the original thread where you requested it.
- Enter some text in the text field and see that the "Add reply" button remains disabled even when sufficient text has been entered.
- See that pressing "Reply to this thread" under the original version only closes/opens (toggles the open state) of the inset text field, having no effect on the original version.
This makes it impossible to reply to the thread in either the original or inset version, until the page is refreshed to get rid of the inset version. Collapsing the expanded post to hide the inset version does not help. Now pressing "Reply to this thread" under the original version seems to have no effect (perhaps it is toggling the open state of the now hidden inset version, which cannot be observed).
The state it ends up in where a comment cannot be added (note the grey "Add reply" button):

1 comment thread