I can't seem to scroll to the messages at the top of RadConversationView when the soft keyboard is on screen .. this happens in my own code, but also in the out-of-the-box telerik example solution.
How do I get the conversation view to be the right size (i.e. to fit the parent) with the keyboard hidden and showing?
Thanks,
Steven
5 Answers, 1 is accepted
Thanks for writing. I am afraid that we cannot override the keyboard behavior. When it is shown, it simply translates the whole page up and some of its contents end up off screen. Since the keyboard is not a part of Silverlight we have extremely limited control over it.
Thank you for understanding.
Victor
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Can't we use the GotFocus and LostFocus events on the textbox to adjust the size of the conversation view as this lets us know when they keyboard is on screen or not?
I have another problem with layout of the conversation view. When an application bar is on the screen and the keyboard is visible, the textbox sits too far above the keyboard, the extra distance is the same size as the application bar. The keyboard has already taken into consideration the space used by the application bar beneath it, so the textbox doesn't have to add it again.
Can this be fixed?
Thanks,
Steven
Thanks for writing.
I am afraid that there is little we can do inside the conversation view to change that. All applications behave like this. If you really have to fix this you can find the text box inside RadConversationView and listen for its GotFocus and LostFocus events. Then you can apply a render transform on the conversation view to move it down. This is a hack however and should not be included inside the control itself.
Please have a look at the attached sample app. It demonstrates the exact same behavior with a simple TextBox.
Thank you for understanding.
Victor
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I adapted your solution introducing more TextBoxes and ScrollView. If you introduce the ScrollView, then TextBoxes which are in different positions don't behave correctly (as you said on the first answer). When the keyboard is opened, you are unable to scroll to other TextBoxes - margins are different when you open a keyboard with focus in top or bottom TextBox. Do you know if there is any solution for this problem? I can send you our example solution to take a look at it (I can't attach it to this post).
Thanks,
Jakub Żurek
I am afraid I do not understand what your scenario is. Please post a support ticket and attach your app so that I can debug it and give you a useful suggestion.
Regards,Victor
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>