Latest Chrome not working with Telerik Editor Apply Class

11 posts, 0 answers
  1. HSLaw
    HSLaw avatar
    153 posts
    Member since:
    Jan 2006

    Posted 15 Jan 2014 Link to this post

    Hi Support,

    1. Our Chrome is updated to version 32.0.1700.76 m.
    2. Then we noticed Telerik Editor's Apply CSS is not working.
    3. We try Telerik Demo site (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx) also not working.
    4. Here is the screen cast on how we try : http://upload.ximnet.com.my/chrome_with_telerik_editor.swf

    What could be the issue?
    Thanks.

  2. MailUp Dev
    MailUp Dev avatar
    6 posts
    Member since:
    Nov 2009

    Posted 15 Jan 2014 Link to this post

    Same problem here with Chrome 32, it happens with the previous version but also with the latest (ie online Telerik demo):

    1) select a text OK
    2) apply a font size OK
    3) change font OK
    4) change again size or font KO
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 17 Jan 2014 Link to this post

    Hello,

    The described behavior is due to a major changes of the scroll functionality in Chrome 32.

    This issue is already fixed and will be available in the upcoming official release of RadControls suite, which will be released at the end of this month.

    For the time being you can use the following example setup for workaround:
    <telerik:RadEditor runat="server" ID="RadEditor1">
    </telerik:RadEditor>
     
    <script type="text/javascript">
        $telerik.getDocumentRelativeCursorPosition = function (e) {
            var docElem = document.documentElement,
                body = document.body,
                scrollLeft = body.scrollLeft > docElem.scrollLeft ? $telerik.getCorrectScrollLeft(body) : $telerik.getCorrectScrollLeft(docElem),
                scrollTop = body.scrollTop > docElem.scrollTop ? body.scrollTop : docElem.scrollTop,
                left = e.clientX + scrollLeft,
                top = e.clientY + scrollTop;
     
            if ($telerik.isIE6 || $telerik.isIE7) {
                left -= 2;
                top -= 2;
            }
     
            return { left: left, top: top };
        }
    </script>



    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  5. John
    John avatar
    7 posts
    Member since:
    Mar 2012

    Posted 20 Jan 2014 Link to this post

    Hi All:

    Just for the sake of completeness, I'll add our experience to this thread.  When using the paragraph type control (i.e., H1, H2, etc) and the font size control (i.e., 1, 2, 3, etc) in Chrome 32.0.1700.76, the editor does not add the HTML tags.  However, the control does work correctly in IE11 and Firefox 26.  At first glance, this doesn't seem to have anything to do with a scrolling problem.

    Will the fix in the next version of Telerik editor fix this?

    Thanks for your help.

  6. John
    John avatar
    7 posts
    Member since:
    Mar 2012

    Posted 20 Jan 2014 Link to this post

    Hi All:

    Just for the sake of completeness, I'll add our experience to this thread.  When using the paragraph type control (i.e., H1, H2, etc) and the font size control (i.e., 1, 2, 3, etc) in Chrome 32.0.1700.76, the editor does not add the HTML tags.  However, the control does work correctly in IE11 and Firefox 26.  At first glance, this doesn't seem to have anything to do with a scrolling problem.

    Will the fix in the next version of Telerik editor fix this?

    Thanks for your help.

  7. Mark Kucera
    Mark Kucera avatar
    84 posts
    Member since:
    Sep 2009

    Posted 20 Jan 2014 Link to this post

    Just posting a quick note that this seems to have fixed my issues w/ Chrome 32.0.1700.76 m

    -Mark
  8. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 21 Jan 2014 Link to this post

    Hi All,

    The introduced issues are with all dropdown tools of the RadEditor control along with the tools in the context menus which opens dialogs.

    The initial problem is related to the scrollTop and scrollLeft properties. At first glance does not look important or related, although these properties are used in the control's size calculations and when the page is being scrolled, some of our logic breaks and causes incorrect behavior of the implemented functionality. More about this can be examined in this blog post.

    The upcoming build of the RadCotnrols suite (2013 Q3 SP2) will include the provided solution, which fixes all the mentioned problems, related to the Chrome 32 browser.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  9. Okami
    Okami avatar
    11 posts
    Member since:
    Oct 2013

    Posted 21 Jan 2014 Link to this post

    So this is slated for the 31st to come out?
  10. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 22 Jan 2014 Link to this post

    Hello Ming,

    As I have mentioned in one of my posts, the release, in which this issue is going to be resolved is the 2013 Q3 SP2 and it is going to be available by the end of this month.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  11. Andrew Dakin
    Andrew Dakin avatar
    4 posts
    Member since:
    May 2005

    Posted 22 Jan 2014 Link to this post

    Will there be an internal build released before then that we can test with?
  12. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 23 Jan 2014 Link to this post

    Hello,

    There aren't any available internal builds where the issue is fixed.
    The release date of Q3 2013 SP2 is scheduled for 28th of January so you will be able to download and test it in a couple of days.

    Best regards,
    Rumen
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017