Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I trigger a minor cursor bug in Gmail's composer all the time, and it's driving me nuts. Here's the bug:

  1. Reply to an email and type something.
  2. With the cursor at the end of the line, press the down arrow key to highlight the "..." quote chip.
  3. Press the left arrow key. The cursor appears back at the end of the line of text.
  4. Type a letter. Gmail inserts a newline and the letter appears on the next line.

I often use down + left as a shortcut to get to the end of the current line (since Gmail doesn't suport Ctrl-E), so this happens to me all the time.

I've inspected the DOM when this happens. The composer uses a content-editable div inside an iframe, and its contents (before the quote chip) are the same both before and after I trigger the bug, so I'm guessing the change in state is somewhere in JavaScript. Google's JS is compiled, so that's where I stop dumpster diving and ask for help.

Thanks in advance!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.