sproutcore / rich-text-editor

A rich text editor for SproutCore.
Other
6 stars 6 forks source link

Scroll view issue when typing text #19

Open nicolasbadia opened 10 years ago

nicolasbadia commented 10 years ago

I'm having some issues with the scroll view when the scroll bar is visible. Sometime, when I type some text at the bottom of the field, the view scroll by itself. Also, when this happen, I often can't scroll to the top of the field. Here is a GIF to show the problem:

rte-issue

dcporter commented 10 years ago

Hmmm yeah I noticed some odd behavior though I hadn't seen the can't-return-to-the-top issue. Could you check the scrollTop on the contentEditable element, or figure out what specific mechanism is repositioning it? We may be able to handle it (in order to prevent it and adjust the SC scroll view instead).

nicolasbadia commented 10 years ago

I did not really understand what was going on by looking at the DOM inspector. I took some screenshot, maybe it will talk to you.

1 2

mauritslamers commented 9 years ago

I cannot reproduce this issue on FF39 or Chrome 43, under both Linux and OSX.