Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
XamRichTextEditor not keeping focus


If I apply the XamRichTextEditor inside a scrollViewer as done here:

    <ig:XamRichTextEditor />

then whenever the user types in text and newlines, and reach the end of the editor, then the scrollviewer begins to show but it does not automatically scroll down, so you can see what you are typing. If you did replace the XamRichTextEditor with a normal TextBox this behavior would be as expected. When you reach the visual end of the textbox, and apply newlines it automatically scroll down so you can see these newlines and what you are typing in.

I have attached a sample project that simulates this.

Are there any way to configure the XamRichTextEditor so it gets the same behavior? 

  • 5935
    Offline posted

    Hello Dennis,


    Thank you for the post. The behavior you are getting with XamRichTextEditor is because you put it in the ScrollViewer, if you remove the ScrollViewer you will get the expected behavior (same as you are getting with TextBox ).

    You don’t need to put XamRichTextEditor in the ScrollViewer as XamRichTextEditor has ScrollViewer internally and it will automatically place a ScrollViewer around its content when its needed.

    Let me know if you have any question.


    Divya Jain

Reply Children