Results 1 to 6 of 6

Thread: Windows Phone 8.1 - Keyboard make render issue

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2015
    Posts
    3

    Default Windows Phone 8.1 - Keyboard make render issue

    Hello,

    We encounter render problem when Windows Phone keyboard is displayed.
    When a textfield (screenshot 1) get focus, the keyboard is displayed and as you can see (screenshot 2), the keyboard move applications content to top and body background appears between keyboard and view.

    We didnt have this problem when project targeted 8.0, it only happens since we updated Phonegap project to Windows Phone Silverlight 8.1.
    As you can see (screenshot 2), the view moves but cursor stay where we tapped on textfield (screenshot 3).
    Content is displayed at wrong place but when you tap a second time where field was (screenshot 3) view render right and field keeps focus (screenshot 4).

    We tried so much solution without success:
    - We listened UpdateLayout of WebBrowser to detect when keyboard was hidden but it was too early, render issue came after this event.
    - In javascript, we set listeners on windows scroll event. This listener make a scrollTo(0,0) to reset windows position but it didnt work in all case.
    - We set listener on viewports resize event, but this event is not sent when keyboard is displayed.

    Frameworks used:
    Sencha touch (2.4.0) embedded in Phonegap (2.9 / 4.2.0)
    Devices tested:
    Lumia 620 (Windows Phone 8.1) & Lumia 830 (Windows Phone 8.1)

    Anyone ever met this issue or a similar case with Sencha & Phonegap for Windows Phone 8.1?

    Kind regards,
    Barry
    Attached Images Attached Images

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    Have you tried the latest Sencha Touch release? 2.4.1?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    May 2015
    Posts
    3

    Default

    Yes, I just tried with 2.4.1 framework and problem still occur.

  4. #4
    Sencha User
    Join Date
    May 2015
    Posts
    3

    Default

    I made a simple project that reproduces the issue.

    Here is the source code :
    https://www.dropbox.com/s/xvnb7jqazy...issue.zip?dl=0

  5. #5
    Sencha User
    Join Date
    Jul 2015
    Location
    Portugal
    Posts
    8

    Default

    We had similar problem when status bar is hide(Fullscreen).

    To fix it go to Windows Phone Project > MainPage.xaml and change this line:


    <my:CordovaView HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" x:Name="CordovaView" />

    to


    <my:CordovaView HorizontalAlignment="Stretch" Margin="1,0,0,0" VerticalAlignment="Stretch" x:Name="CordovaView" />



  6. #6
    Sencha User
    Join Date
    Mar 2015
    Location
    Chennai
    Posts
    4

    Default

    <my:CordovaView HorizontalAlignment="Stretch" Margin="1,0,0,0" VerticalAlignment="Stretch"x:Name="CordovaView" />

    I changed this one. But still same issue.
    Shanmugapriya.D

Similar Threads

  1. Windows Phone on picker select keyboard shows up
    By milez69roda in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 16 Mar 2016, 5:21 AM
  2. [FIXED] On windows phone form panel cannot scroll when keyboard shown.
    By linus.wang in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 19 Jun 2014, 1:36 AM
  3. Replies: 2
    Last Post: 12 Jun 2014, 6:51 AM
  4. App shifting up after using virtual keyboard ( windows phone 8.1 )
    By prateek204 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 30 Apr 2014, 11:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •