josephg/ShareJS — Issue #51: Off-by-one error on Opera/IE when inserting text
Author: wmertens
Created: 2012-01-05 13:51:23+00:00
State: open

Summary:
When using the attach_textarea functionality, and inserting text, Opera and IE8 will insert the text at an off-by-one location versus where it should be.

Steps to reproduce:
1. Go to http://sharejs.org with Chrome and Opera
2. Using Chrome, clear the "etherpad in 4 lines" and type 1\2\3\

Expected results:
3. Opera shows 1, 2 and 3 on consecutive lines

Actual results:
3. Opera shows 1, empty line, empty line, 3, 2

Notes:
- Reloading Opera makes it show properly.
- IE8 has the same issue, IE9 is fine