搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Inserting newline in contenteditable div does not advance cursor

  • 4 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 jhchen

more options

To reproduce:

1. Visit http://jsfiddle.net/jhchen/puz5w/1/ 2. Put the cursor at the end of a line 3. Hit enter

A newline will be inserted but the cursor will stay put.

To reproduce: 1. Visit http://jsfiddle.net/jhchen/puz5w/1/ 2. Put the cursor at the end of a line 3. Hit enter A newline will be inserted but the cursor will stay put.

所有回覆 (4)

more options

Hi jhchen, Thank you for your question, what Android version are you running? It works pretty well with version 4.4.2.

What version you are on can narrow down the issue if you are on a mobile platform? :-)

more options

I was running 4.3 but just upgraded to 4.4.4 and am still experiencing the issue. Checked Firefox is also the latest at version 30.

more options

Ok, could you file a mobile bug on this with your [about:support] page information. This would tell if it is a device specific issue, driver issue, but definately a web compatibility bug. Evangelism&component=Mobile Mobile Bug template

Thank you!

more options

Okay the bug has been filed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1040445.