iOS Question Keyboard, Change language event

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I have strange issue on ios 8 which I cannot replicate on ios 7
I have 1 TextFeild that I am using this code for pushing it up, so you can see what you type
B4X:
Sub Page1_KeyboardStateChanged (Height As Float)
    If Height = 0 Then
        Page1.RootPanel.Top = 0
    Else
        For Each V As View In Page1.RootPanel.GetAllViewsRecursive
               If IsFirstResponder(V) Then Page1.RootPanel.Top = Min(0,Page1.RootPanel.Top - (Height - (Page1.RootPanel.Height - (V.Top + V.Height + 60))))
        Next
    End If
End Sub

issue is (saw it live on someone phone)
once keyboard is coming up, if you press the change language button, each press is pushing all objects up, so after 3 switches, you cannot see anything on screen anymore

I tried to replicate on my ios 7 - does not happen, and I think it is related to the above code
 
Top