Scroller repositioning problem after keyboard dismissed

7 posts, 1 answers
  1. RES
    RES avatar
    77 posts
    Member since:
    Sep 2010

    Posted 03 Jun 2014 Link to this post

    I have a view with a textarea at the bottom.  When I focus on the textarea the keyboard pops up and pushes the textarea up so you can see what you are typing in the input.  The problem is when the keyboard is dismissed it doesn't reposition the scroller and leaves whitespace at the bottom where the keyboard was overlayed.  Also if you try to scroll back to the top it to top appears to be cut off the same distance of the white space left at the bottom as if the whole slider has been shifted up by that amount.  Is there a solution for this issue?

    Scott
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 03 Jun 2014 Link to this post

    Hi Scott,

    I guess this problem can only be reproduced in landscape mode. This is something that we are aware of, but currently no workaround is available. You can check the following GitHub issue for more information:

    https://github.com/telerik/kendo-ui-core/issues/43

    Regards,
    Kiril Nikolov
    Telerik
     
    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. RES
    RES avatar
    77 posts
    Member since:
    Sep 2010

    Posted 03 Jun 2014 in reply to Kiril Nikolov Link to this post

    Actually in my case this is occurring in both landscape and portrait in Chrome on Android.
  5. RES
    RES avatar
    77 posts
    Member since:
    Sep 2010

    Posted 04 Jun 2014 in reply to Kiril Nikolov Link to this post

    More on this issue, I've worked up an example of what I'm trying to do in the dojo.  This isn't the iOS 7 landscape bug but rather something that I can only reproduce on Android so far.

    Here's the link to the example.
    http://trykendoui.telerik.com/uWun

    Try running in full screen on an Android 4.x phone, scroll to the bottom and enter some text into the reply box then dismiss the onscreen keyboard to reproduce the scroller repositioning problem.
  6. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 04 Jun 2014 Link to this post

    Hello Scott,

    The issues seems to be gone when native scrolling is enabled on the view. Please check the following example:

    http://trykendoui.telerik.com/@Kiril/OsAt

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  7. RES
    RES avatar
    77 posts
    Member since:
    Sep 2010

    Posted 05 Jun 2014 in reply to Kiril Nikolov Link to this post

    This does the trick and after further testing I've found that I have to turn native scrolling on for iOS as well.
  8. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 06 Jun 2014 Link to this post

    Hi Scott,

    I am really glad to hear that the proposed solution helped!

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready