Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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

+1
−0

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:

  1. 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).
  2. Expand the post by pressing "Post".
  3. Scroll to the bottom of the post and see the same thread under the inset post, as the thread title as a blue link.
  4. 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.
  5. Under the original (lower down the page) version of the thread, press "Reply to this thread".
  6. See that the "Your comment" text field opens under the inset thread, rather than the original thread where you requested it.
  7. Enter some text in the text field and see that the "Add reply" button remains disabled even when sufficient text has been entered.
  8. 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):

Thread page with the post expanded above the thread, and the same thread expanded again below the post, with more than 15 characters in the reply text field below the expanded thread, but the "Add reply" button disabled

History

1 comment thread

Thank you for thinking to poke at corner cases that never occurred to me. :-) I think the cleanest a... (2 comments)

Sign up to answer this question »