Alpha Video Training
Results 1 to 5 of 5

Thread: Black space in keyboards place upon closing.

  1. #1
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Black space in keyboards place upon closing.

    Hi there. As per the title I have a Phonegap app which has a few panel cards. In anyone of them bar the first panel card if I click on a field and the keyboard pops up - when I close it, the space that the keyboard occupied is white so I cannot see my submit button etc to save my changes.

    Oddly enough I only have the problem past my login screen - doesn't seem to happen using the keyboard to type in the username and password. Any help would be great.

    Thanks.

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,815

    Default Re: Black space in keyboards place upon closing.

    I don't think I've run across this with my devices - but can't quite remember. I'm guessing this is happening on an Android device. I think I remember this being reported by a client when they were testing an app... always on Android... never under iOS.

    The phones they were testing on were all over the map... some running Android 4.0, some 4.1, which is really old stuff. I never experienced this behaviour on my Nexus 7. And I never solved it... other than to say... stop using such old phones... or rather phones with an OS that is years old.

    Overall, the problem is that Android is a scattered platform with manufacturers putting their own spin on the OS. You never know what you're going to get. Not that any of this helps.

  3. #3
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Re: Black space in keyboards place upon closing.

    Can't agree more David and it is frustrating. The phone is running Android 4.2.2 Jellybean - I'll be doing a lot of trial and error to see if there is a fix/workaround for this behaviour. I would pickup a different phone but it is the one that the clients (>120) will be using so I don't have any budge with that

    I'll report back if I get anywhere with the issue.

  4. #4
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Re: Black space in keyboards place upon closing.

    Update: Unfortunately it also occurs on an older version of android on a mobile I have lying around. The issue also occurs when using the dropdown dialog as this causes androids own dialog box to popup on the screen with the options specified in the dropdown. Once one is selected and the dialog is closed the screen is white where the popup dialog was prior to closing.

    This essentially breaks many components in the app - I cannot redesign my application without text boxes. Perhaps I could use javascript prompts but that will bring up the keyboard and probably cause the same issue.

  5. #5
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Re: Black space in keyboards place upon closing.

    Solution

    Thankfully! The issue was, as usual, my fault

    A few days ago I had added some "Panel body inline-style" attributes to each panel card and panel navigator in my project.

    The CSS attributes I used were
    Code:
     "width: 100%; border-width: 0px; padding: 0px; margin: 0px;"
    I did this in an effort to get rid of an annoying blue margin that was building up on the right hand side of my panels each time I navigated around my application.

    So for anyone in the future who has this problem of the keyboard wiping half the screen on closing please check that you haven't set similar attributes to your panel cards as those outlined above.

    **The solution for me was just to leave the CSS attribute for "Panel body inline-style" as
    Code:
    "border-width: 0px;"
    This stopped the annoying blue margin on the right AND my keyboard no longer leaves a void on closing.

    Thanks and I hope this helps someone else.

Similar Threads

  1. Mobile app - On closing Keyboard screen is blank where in the space the keyboard occupied.
    By Adrian_ in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 12-11-2014, 01:01 PM
  2. Red '; When it Should be Black.
    By forskare in forum Application Server Version 11 - Web/Browser Applications
    Replies: 9
    Last Post: 11-30-2011, 10:22 AM
  3. Field are black
    By Stewart Spiers in forum Alpha Five Version 5
    Replies: 4
    Last Post: 09-16-2004, 12:43 AM
  4. Old problems with shortcuts on german keyboards
    By Helmuth Feldner in forum Alpha Five Version 6
    Replies: 3
    Last Post: 07-28-2004, 08:54 AM
  5. Need direction with Alt-Space & Space Key
    By Coyndigger in forum Alpha Five Version 4
    Replies: 5
    Last Post: 11-27-2000, 03:20 AM

Bookmarks

Posting Permissions

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