Can't scroll to all messages when keyboard is visible

6 posts, 0 answers
  1. Steven
    Steven avatar
    2 posts
    Member since:
    Sep 2012

    Posted 06 Oct 2012 Link to this post

    Hi, 

    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
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 08 Oct 2012 Link to this post

    Hi Elliott,

     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.

    Regards,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Steven
    Steven avatar
    2 posts
    Member since:
    Sep 2012

    Posted 08 Oct 2012 Link to this post

    Hi Victor, 

    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
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 09 Oct 2012 Link to this post

    Hello 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.

    Regards,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Jakub
    Jakub avatar
    2 posts
    Member since:
    Jul 2013

    Posted 15 Jul 2013 Link to this post

    Hi,
    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
  7. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 18 Jul 2013 Link to this post

    Hi Jakub,

    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
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    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 >>
Back to Top
DevCraft banner