This is a migrated thread and some comments may be shown as answers.

Scroller repositioning problem after keyboard dismissed

6 Answers 149 Views
View
This is a migrated thread and some comments may be shown as answers.
RES
Top achievements
Rank 1
RES asked on 03 Jun 2014, 08:21 AM
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

6 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Jun 2014, 11:10 AM
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!
 
0
RES
Top achievements
Rank 1
answered on 03 Jun 2014, 03:41 PM
Actually in my case this is occurring in both landscape and portrait in Chrome on Android.
0
RES
Top achievements
Rank 1
answered on 04 Jun 2014, 06:45 AM
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.
0
Accepted
Kiril Nikolov
Telerik team
answered on 04 Jun 2014, 08:39 AM
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!
 
0
RES
Top achievements
Rank 1
answered on 05 Jun 2014, 05:31 PM
This does the trick and after further testing I've found that I have to turn native scrolling on for iOS as well.
0
Kiril Nikolov
Telerik team
answered on 06 Jun 2014, 08:14 AM
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!
 
Tags
View
Asked by
RES
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
RES
Top achievements
Rank 1
Share this question
or