Error when double clicking empty space

6 posts, 0 answers
  1. Daniel
    Daniel avatar
    4 posts
    Member since:
    Feb 2016

    Posted 16 Feb Link to this post

    I am updating a project to the latest version of Telerik UI for AJAX, and have noticed that if Idouble click on empty space below my text in the editor I get a javascript error "Unable to get property 'nextSibling' of undefined or null reference", relating to the following segment of code:

    var h=function(o){while(!o.nextSibling){o=o.parentNode;
    }return o.nextSibling;
    }; 

    As I have been unable to determine the source of this problem I am hoping you can help me out.

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 17 Feb Link to this post

    Hi Daniel,

    I tested the reported scenario but no JavaScript error was thrown on my side when double clicking on the empty part of the content area of the Editor. Can you take a look at the video from my test here and see whether I am missing anything? - http://screencast.com/t/fFtYZ2WDe

    Can you also provide some more details on the matter as the browser in which the problem occurs and the exact steps for its reproduction?

    Regards,
    Vessy
    Telerik
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Daniel
    Daniel avatar
    4 posts
    Member since:
    Feb 2016

    Posted 17 Feb in reply to Vessy Link to this post

    I am using IE 11.  Some further testing shows that this problem occurs when the last element on the page is a table or list, but not when it is a paragraph, heading, or line break.  Also, if I switch to the HTML view and back the error will not occur.
  5. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 22 Feb Link to this post

    Hi Daniel,

    I am afraid I am still not able to reproduce the problem - neither with a table as a last element, nor wit a list: http://screencast.com/t/6PLu25H9k2ux

    Can you, please, provide us with a sample content you use for your test as well as with the exact steps that need to be made in order to reproduce the problem?

    Regards,
    Vessy
    Telerik
    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
  6. Daniel
    Daniel avatar
    4 posts
    Member since:
    Feb 2016

    Posted 22 Feb in reply to Vessy Link to this post

    I solved this issue by changing the ContentAreaMode to Div, which had it's own issues but I have worked through them now.  Sorry I could not locate the root cause.
  7. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 25 Feb Link to this post

    Hi,

    Not to worry, Daniel - I am glad you have found a way to work around the issue for the moment.

    Should you deem anything else as a possible hindrance that we might have missed so far, do not hesitate to inform us, so that we can investigate the case further.

    Regards,
    Vessy
    Telerik
    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
UI for ASP.NET Ajax is Ready for VS 2017