What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

On the "Ask Question" page, the Title input box initially contains "What's your programming question? Be descriptive." in grey text. Typing text erases the prompt and displays what you type in black text.

However, pasting text into the input box doesn't trigger the erase, inserts the pasted text into the prompt, leaves the text grey, and typing any further text doesn't trigger the erase either.

The same thing happens on other input boxes that contain initial grey prompts.

Browser: IE 7.0.5730.13

Update: This appears to be an IE-specific problem. I wasn't able to repro it in Firefox or Safari.

share|improve this question
    
It's probably a keyup event. –  random Jan 27 '10 at 2:46
    
Duplicate of meta.stackexchange.com/questions/36872/… –  perbert Jan 27 '10 at 2:49
1  
Not a duplicate, that question doesn't say anything about paste, which is where the bug happens. –  Greg Hewgill Jan 27 '10 at 3:02
    
ah, IE only issues continue to impress. :) –  Troggy Jan 27 '10 at 6:28

2 Answers 2

Feel free to upvote this so the community user will stop bumping the question.

share|improve this answer
    
The community user is supposed to keep bumping the question ("This is by design") because the question hasn't yet received an answer considered helpful. :-) –  ShreevatsaR Nov 27 '10 at 20:08
    
@Shree Because it's been [status-completed], this type of post is typical procedure here on Meta. –  waiwai933 Nov 27 '10 at 20:12
    
Oh I see... I didn't notice the tag, and the answers and comments didn't give that impression. –  ShreevatsaR Nov 27 '10 at 21:57

This is by design -- the help text disappears when you begin typing.

The title field had to be handled a bit differently because it typically has focus when the page loads.

I think this might actually be a behavior we want to extend to the tags field, since the help text disappearing on focus is not exactly helpful when you, y'know, need help entering text on that field.. the one you just tabbed into.

Jeff Atwood♦

share|improve this answer
    
Yes, the field works correctly when typing. The difference is pasting text, where it doesn't work correctly. –  Greg Hewgill Jan 27 '10 at 3:02
2  
@Greg, don't argue with me, argue with The Big Cheese ♦ himself. –  perbert Jan 27 '10 at 3:06

You must log in to answer this question.

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