Strange looking transitions on iOS

5 posts, 1 answers
  1. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 08 Jan 2015 Link to this post

    Hey all,

    My transitions on iOS look weird. There's a weird transparent effect going on that I don't understand. Here's a video: https://www.dropbox.com/s/7a7fh5yjrfddkfc/transition-transparency.mov?dl=0.

    Is this behavior expected?

    Thanks,
    TJ
  2. Answer
    Alex
    Admin
    Alex avatar
    129 posts

    Posted 09 Jan 2015 Link to this post

    Hi TJ,

    The reason for this behavior is that the pages have transparent background by default -  so you can still see the previous page while the animation is still in progress. You can try setting a background-color in CSS for the main layout container in you pages to fix that.


    Regards,
    Alex
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 09 Jan 2015 in reply to Alex Link to this post

    Hey Alex,

    Yep, that did the trick. Thanks! Just fyi I tried to set CSS on the `<Page>` first, which didn't work. After rereading your comment I saw that I completely missed “main layout container”, and then I was good.

    Are CSS declarations valid on the Page element? I had assumed that they were but that doesn't appear to be the case.

    TJ
  4. Alex
    Admin
    Alex avatar
    129 posts

    Posted 09 Jan 2015 Link to this post

    Hi,

    You are right. CSS is not applied to the Page in the 0.42 version. We have fixed that already, so in the next release you can apply the background directly to the page.

    Regards,
    Alex
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 09 Jan 2015 in reply to Alex Link to this post

    Awesome! Thanks again.
Back to Top