I am facing an issue with the IQ Keyboard codeless drop in, Whenever I try to click on text field the buttons move above the keyboard with a height similar to the keyboard's height but the buttons still work at the original position, The problem arises when I try on the real device on simulator it works fine. Please refer to the image
Related
I'm using the KeyboardAvoidingView in a dynamic form where errors are being displayed or disappear while typing.
On Android, everything works fine and the KeyboardAvoidingView "moves" when an error appears, to always show the keyboard right below the input field.
However on iOS, whenever an error appears at the top of the input, the input gets pushed down, and the keyboard doesn't move. Because of that, the input gets behind the keyboard and can't be seen while the user is typing.
Is there a simple fix for that, or do you necessarily need to play with a useEffect to update the position of the keyboard manually?
I'm also open to any other alternative, if there is!
I am working on a Flutter app. A problem I encountered is that there is no default "Done"- or "Close" button for the numerical keyboard on iOS.
I made an ok solution where the user can close the keyboard by tapping outside the keyboard or swiping downwards. But the ideal solution would be to have a "Done" button in the bottom right corner of the keyboard like Android does right?
I tried the following package keyboard_actions. But it was very buggy in my app. When the keyboard appeared it pushed up the text in the text field.
Why didn't Apple add a default "Done" button for the numerical keyboard? How do you solve this in the simplest and best way?
Thanks!
My app was running fine on ios 8.4, but now after trying it on ios 9 beta, once the app is opened, the cursor on the UITextfield doesn't show up.
The keyboard doesn't come up. Shouldn't it come automatically?
The app works perfectly fine till ios8.4. Can some one help me out?
After one tap gesture on the UITextField, cursor doesn't show up at all.
Also, I tried checking the tintColor property as well as suggested by some users, but it is default blue.
Is there some specific change made in the way keyboard works on ios9?
A Situation - When I click on Login button, Alert message is displayed and then on pressing ok, the keyboard appears with a cursor but I can type only 1 character and suddenly the cursor and keyboard disappears. Then again, click on login, get the error message, cursor is available, type 1 character and cursor and keyboard disappears again.
Why is cursor on visible when tapped on a UITextField. This according to me must be a simple automatic thing. I have used resignFirstResponder and becomeFirstResponder too.
Anything to do with the Views here? For example, super view or something?
Thanks in advance!
Shrikant Kekane
The situation you have described is not happening when I tried the same.
The steps I followed:
Drag and drop one UITextField in Storyboard.
Give it required constraints.
Build & Run.
Keyboard and cursor both work perfectly in iOS9 simulator.
when selecting a text field on a uiwebview the keyboard isn't visible.
i check the keyboard frame when getting the notice that the keyboard will appear. there IS a frame.
i think it has something to do with the constraints i have to do the layout of the views.
what is the correct (most simple) way to adjust those constraints (if that is indeed the issue) to "make room" for the keyboard?
curiously the little bar that typically appears with the keyboard is visible ... the one that looks like this :
| < > Done |
this is getting frustrating so any help is appreciated as usual :)
i should probably add that the setup i have is a uiscrollview that contains uiwebviews. the scrolling is turned off in the scrollview so as not to get things too confused. everything seems to work as intended .. except this keyboard issue.
I have encountered the same problem before as you have now.
I believe it is triggered automatically by the iOS simulator when accidentally typing with your real keyboard in the text field instead of "clicking on the keyboard" in the simulator.
To resolve this issue, simply go to the iOS simulator, navigate to the Menu bar:
"Hardware > Keyboard" and uncheck "Connect to external keyboard".
The problem should now be solved.
This can happens in 2 cases:
in simulator
if your iPhone or iPad use external keyboard
Say you've got a Xcode app with embedded web view exposing a simple HTML5 page.
This page has a title and an input tag and a nav top bar (position: fixed; top:0;).
When the user tap in it the first time, the whole screen scrolls up to enable the keyboard appears while maintaining the input tag visible, when I tap the enter button.
The issue I face is that my HTML is not restored identically (I mean, it scrolls down back, but my top bar is shifted about 10 pixels below the top edge of the screen.
But when I tap the keyboard hide button, the scrolls restore my initial view, with no issue.
Anyone experienced the issue before? Any clue of what going on or a way to work around this?
Ps: issue is present on iOS 7 (7.1.2). I didn't tested on iOS 8 as my app must support iOS 7.
I finally ended up with adding an explicit keyboard withdrawing by applying blur() the the input as follows:
<input ng-change="$(this).blur()">
This immediately makes the keyboard disappearing, while the hw initial scrolling is reversed.