Changes between Initial Version and Version 1 of Ticket #17136, comment 17
- Timestamp:
- 04/20/2011 08:44:39 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17136, comment 17
initial v1 3 3 > ...when I type a lot of text, the box expands, but doesn't re-collapse when I remove text. 4 4 5 Unfortunately WebKit (Chrome, Safari) doesn't update any of the `clientHeight, offsetHeight, scrollHeight` etc. in `document, documentElement` or `body` when in contentEditable mode. Seems we will have to listen for the backspace and delete keys and force an autoresize at least in these cases (despite that I really hate adding more functions onkeyup). 5 Unfortunately WebKit (Chrome, Safari) doesn't update any of the `clientHeight, offsetHeight, scrollHeight` etc. in `document, documentElement` or `body` when in contentEditable mode. Seems we will have to listen for the backspace and delete keys and force an autoresize at least in these cases (despite that I really hate adding more functions onkeyup). IE, FF and Opera seem ok. 6 6 7 7 @andrewryno for some reason WebKit was going wild when trying to get the iframe size before the CSS was applied completely. Tweaked the autoresize on init a bit, seems fixed now.