Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I just noticed the new hint (placeholder) for comments:

  • On SO: "Request clarification or suggest improvements."
  • On Meta: "Request clarification or add information."/"Notify others of updates or address concerns raised."

But I also noticed a bug:

When you remove all chars from a comment, when editing it (after it has been created), the hint becomes "undefined".

undefined placeholder

Tested with:

  • Chrome 27.0.1453.116 32-bit on Windows 8 64-bit
  • Chrome 28.0.1500.71 on Mac OS X 10.8.4
  • Firefox 21.0 32-bit on Windows 8 64-bit

Related: Comment hint not disappearing when I start to type comment

share|improve this question
...verified! Definitely present. – Makoto Jul 21 '13 at 20:18
Confirmed, cool find. – Preom Jul 21 '13 at 20:18
Lots of big problems with the comment text. – Lance Roberts Jul 21 '13 at 20:28
There was a minor change to this yesterday afternoon. Is the behavior still present? I haven't been able to reproduce it yet. – Ben Collins Jul 23 '13 at 16:55
@BenCollins Did some tests here, and now the placeholder box becames empty (instead of undefined). I used Chrome and Firefox. I think it is gone. I'm at work right now, the computer I made the screenshots is at home. I will be there only by night, if you wish to wait, I can test again. – acdcjunior Jul 23 '13 at 17:36
@acdcjunior: I suspect this was due to odd browser bugs as the question Arjan linked goes into. Since Oded fixed that, I doubt this will be a problem again. I'll mark this as status-complete, but if you see it again just leave a comment and I'll revisit. – Ben Collins Jul 23 '13 at 18:00
up vote 5 down vote accepted

It seems that this bug was fixed by @Oded, as he explains in To summarize, it appears that several browsers do not like it when a textarea with a placeholder attribute already defined is inserted into the DOM. Adding the placeholder attribute after the DOM insertion seems to clear it up.

share|improve this answer
Yeah. It is gone. No undefined. Keep in mind the original hint/placeholder is not back when we delete all chars. The textbox just becomes empty (in both places I got the bug)! This is it, I guess! Cheers! – acdcjunior Jul 24 '13 at 0:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .