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.
Comments on Enabled-state of the "Add reply" button, character count in comment thread view does not update on pasting into comment input field
Parent
Enabled-state of the "Add reply" button, character count in comment thread view does not update on pasting into comment input field
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.
Post
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.
0 comment threads