Hi Telerik,
When I edit certain html, the radeditor scrolls the editing pane (div or iframe) to a position that does not show the cursor.
In IE the pane is usually scrolled mid way or to the end of the text.
In Chrome, it scrolls the pane so the cursor is on line 1, which is annoying as a scroll should not happen unless the cursor is off screen.
Test Case:
- Open the demo page (https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx)
- Switch to HTML view
- Select all html and delete
- Paste the following html code into the editor
<p><!-- collumn 1 --> <br />
<flow inset="0,0,0,0" width="30%"> <br />
<flow inset="0,0,0,0" firstlineindent="1"> <br />
<material fontstyle="bold"> <br />
<mattext>asdasd as asd</mattext> <br />
</material> <br />
</flow> <br />
<flow inset="0,0,0,0"> <br />
<response_lid ident="aorta_${ItemId}" rcardinality="multiple"> <br />
<render_choice> <br />
<flow_label inset="0,0,0,0"> <br />
<response_label ident="36"> <br />
<flow_mat orientation="horizontal" inset="0,0,0,0"> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>36.</mattext> <br />
</material> <br />
</flow_mat> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>asd sasda sd a</mattext> <br />
</material> <br />
</flow_mat> <br />
</flow_mat> <br />
</response_label> <br />
</flow_label> <br />
<mattext>dfg hjgh dfgdfg</mattext> <br />
</material> <br />
</flow_mat> <br />
</flow_mat> <br />
</response_label> <br />
</flow_label> <br />
<flow_label inset="0,0,0,0"> <br />
<response_label ident="43"> <br />
<flow_mat orientation="horizontal" inset="0,0,0,0"> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>43.</mattext> <br />
</material> <br />
</flow_mat> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>ty bfdgh ghuy67 hgfdf</mattext> <br />
</material> <br />
</flow_mat> <br />
</flow_mat> <br />
</response_label> <br />
</flow_label> <br />
<flow_label inset="0,0,0,0"> <br />
<response_label ident="44"> <br />
<flow_mat orientation="horizontal" inset="0,0,0,0"> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>44.</mattext> <br />
</material> <br />
</flow_mat> <br />
<flow_mat inset="0,0,0,0"> <br />
<material> <br />
<mattext>45g dfgsdfgdfsgdd</mattext> <br />
</material> <br />
</flow_mat> <br />
</flow_mat> <br />
</response_label> <br />
</flow_label> <br />
</render_choice> <br />
</response_lid> <br />
</flow> <br />
</flow> <br />
<!-- end collumn 1 flow --> <br />
<!-- collumn 2 --> </p>
- Switch to design view
- Locate the following text "<mattext>43.</mattext> "
- place the cursor at the beginning of the line and hit enter
- The edit pane will scroll.
Any help would be great! Thanks.
Robert.