1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    7
    Vote Rating
    0
    jc502 is on a distinguished road

      0  

    Default Unanswered: Viewport height problem on Nokia Lumia

    Unanswered: Viewport height problem on Nokia Lumia


    I published an app on the Windows Phone store, only to find the the layout does not work correctly on the Nokia Lumia phones. Elements docked to the bottom of the screen are cut off. See attached image. What can be done to fix this problem?


    Nokia Lumia 920.png

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,936
    Answers
    328
    Vote Rating
    130
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    You could try setting the viewport size by adding a viewport config to Ext.application. Does this fix itself after orientation change?

    Code:
    viewport: {
      height: '100%',
      width: '100%'
    }
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Nov 2013
    Posts
    7
    Vote Rating
    0
    jc502 is on a distinguished road

      0  

    Default


    No it doesn't right itself after orientation change. The viewport change does not make a difference either. It appears to me that this is a bug in the web browser control, which is bad news for HTML5/js apps on Win Phone.There is a "fix" that will get it to display properly, but it's not ideal. You have to hide the system tray (notification bar) and can't use an action bar. If either of these things are visible, it shows incorrectly.I recommend for anyone deploying on the Win Phone platform to test it out first on actual devices through Nokia's Remote Device Access service. http://developer.nokia.com/Devices/R...device_access/

  4. #4
    Sencha User
    Join Date
    Nov 2013
    Posts
    7
    Vote Rating
    0
    jc502 is on a distinguished road

      0  

    Default


    Please see this thread. It has now been reported to the Microsoft team as a bug.http://social.msdn.microsoft.com/For...-479622548021/

Thread Participants: 1