Text selection bug in IE

3 posts, 0 answers
  1. InternalSystems
    InternalSystems avatar
    2 posts
    Member since:
    Oct 2014

    Posted 04 Aug Link to this post

    I'm trying to get around a bug with the Kendo Editor control in Internet Explorer (tested in IE11).

    JS Fiddle here:
    https://jsfiddle.net/L5tvccd9/

     

    Repro steps:
    1. Click inside one word (e.g. "nine")
    2. Select All (Ctrl+A, but it also happens with example select all from docs: http://docs.telerik.com/kendo-ui/api/javascript/ui/editor#methods-selectRange )
    3. Click inside a different word (e.g. "five")
    4. Press return on the keyboard

     

    Expected behaviour is to insert a break inside the second selected word, where the caret correctly appears (e.g. "five")

    Actual behaviour is to insert a break inside the first selected word, where the caret was before select all (e.g. "nine")

    This also breaks a lot of other features, like setting the style buttons to the correct state because it doesn't know where the caret is.

    A second click in the same location, or using the keyboard cursor keys etc. correctly sets the caret position.

    Also reproducible on the demo control:
    http://demos.telerik.com/kendo-ui/editor/index

     

    Is there any fix or workaround for this?

  2. InternalSystems
    InternalSystems avatar
    2 posts
    Member since:
    Oct 2014

    Posted 05 Aug Link to this post

    This should have been posted in the "Kendo UI" forum if someone could move it and delete this reply.
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 08 Aug Link to this post

    Hello Gary,

     

    Thank you for reporting this bug. I have logged it in our Guthub issues and you can monitor its progress from here: https://github.com/telerik/kendo-ui-core/issues/2046

     

    Due to the complexity behind the selection utilities used in Kendo Editor I am unable to find a feasible workaround for this bug.

     

    Regards,
    Ianko
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top