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
1650
Clicking on XamTextEditor sets cursor to beginning of text rather than end
posted

Hi there

If I click in a text editor that already contains some text, the cursor is set to the beginning of the text rather than the end. This is non-standard behaviour and doesn't make much sense anyway. Would be nice to see that fixed in an upcoming release...

Cheers,

Philipp 

Parents
  • 2070
    posted

     Hi Philipp,

     

    Thanks for pointing this out, we appreciate all the info and suggestions you've provided. We've taken a note of it. The reason the cursor goes to the beginning is that when the editor looses focus, it exits the edit mode and the the textbox control used for editing is hidden. When the editor is clicked, the editor recieves focus and textbox control is reshown. However it's reshown after mouse click has already been processed and that's why the textbox doesn't respond to it and set the cursor at the click location. In any case, as a workaround you can set IsAlwaysInEditMode property to true to prevent this behavior. 

     

    Sandip 

     

Reply Children