View doesnt Show until touch

4 posts, 0 answers
  1. Marc
    Marc avatar
    2 posts
    Member since:
    Jan 2008

    Posted 06 Aug 2012 Link to this post

    Good morning,

    I am testing the KendoUI Mobile framework in combination with trigger.io
    The point is that it shows the background but nothing else.
    Then when touching  the screen the Layout/View appears (thats only happening on the the device, not on emulator)
    the content also appears when you turn the mobile to landscape.

    Some idea why it happens? Any idea to make a workaround (calling some kind of function in data-show per example)??

    Best regards!
    <!DOCTYPE html>
    <html>
    <head>
        <title>Test Runner</title>
        <link href="css/kendo.mobile.all.min.css" rel="stylesheet" />
         <script src="js/includes/jquery.min.js"></script>
        <script src="js/includes/kendo.mobile.min.js"></script>
    </head>
    <body>
        <div data-role="view" data-layout="default" id="default">
            Hello Mobile World!
        </div>
     
        <div data-role="layout" data-id="default">
            <div data-role="header">
                test runner
            </div>
        </div>
        
        
        <script>
     
            window.kendoMobileApplication = new kendo.mobile.Application(document.body, { platform: 'android' }, {
                viewShow: function (e) {
                    var viewID = e.view.element.attr("id");
                }
            });
     
     
     
         
     
        </script>
    </body>
    </html>
  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 06 Aug 2012 Link to this post

    Hello Marc,

    I am not sure what may cause this issue. We have been testing in phonegap extensively, and we have not observed such thing. Perhaps it is a good idea to contact the trigger.io support, too?

    Regards,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Marc
    Marc avatar
    2 posts
    Member since:
    Jan 2008

    Posted 06 Aug 2012 Link to this post

    And forgot: if you navigate with tabstrip per example between views it works fine, but if you change to a view with different layout then it happens also. any function i might call after show? best regards marc
  5. Ali
    Ali avatar
    16 posts
    Member since:
    Aug 2012

    Posted 14 Sep 2012 Link to this post

    Its because of hardware acceleration. I face this even with phonegap with Hardware acceleration enabled. But keep in mind that this happens only on certain devices.

    With trigger.io check out this link: http://docs.trigger.io/en/v1.4/modules/requirements.html?highlight=hardware%20acceleration

    This is to disable hardware acceleration and Kendo UI is gonna work flawlessly.
Back to Top
Kendo UI is VS 2017 Ready