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 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.

Enabled-state of the "Add reply" button, character count in comment thread view does not update on pasting into comment input field

+4
−0

This looks similar to my previous bug report "Body is too short" error when posting middle-click-pasted answer with no changes, and I wouldn't be surprised if the fix is the same.

When on the thread page for a comment thread (that is, /comments/thread/###), there is the possibility to reply to the thread in question by typing a message and clicking "Add reply". Fine so far.

However, if you simply paste into the input field, neither the character count nor the enabled-state of the "Add reply" button updates. The same seems to be the case if you use the browser's right-click menu or similar functionality to delete what you have typed. Both do update when you do something further in the input field, however.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+0
−0

I wouldn't be surprised if the fix is the same

I will say the code is same but, written in different pages(when talking about Ruby).

Currently we are using keyup change for detecting changes to field. So, whenever you copy-paste text in field then, that function can't detect what happened to that field. So, I am thinking to use .on('paste'...... This function can detect if you copy-pasted anything.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

imitate "paste in post" code (1 comment)

Sign up to answer this question »