Softkeyboard's "check" button vs using .unfocus() - flutter

In this video I first click on a field within the first tab, then click the soft keyboard's "check" button. This hides the soft keyboard and takes the focus away from that field. I then navigate across tabs and back to the first. No field has the focus at this point. This is the expected behavior.
In the second iteration, I click in the notes field. Without closing the soft keyboard, I then click the submit button. That button calls FocusScope.of(context).unfocus(); which hides the soft keyboard and takes the focus away from the notes field (the teal border disappears). However, at this point I click on the next tab and the soft keyboard reappears. And when I click back the first tab the notes field once again has the focus.
Why does this happen?
What underlying code does the "check button" on the keyboard call and can I wire this up to the button rater than calling the .unfocus() method to get the expected result?
Edit: Still no explanation. The undesirable persistent keyboard does not occur on iOS.

Related

How to wait until keyboard is raised in flutter?

I'm using the scroll to index
library here
(When I press the reply button of the comment, the scroll is moved to the comment area where I pressed the reply button.)
Pressing the reply button activates the keyboard, which becomes strange because it moves before the keyboard rises.
I want to wait for the keyboard to come up when I press the button and let it move when it comes up.
I've tried hasFocus, but it seems to be a solution that has nothing to do with this problem.
flutter_keyboard_visibility is same.
What should I do?

Catching window state change by custom system buttons

I'm developing custom system buttons - minimize, maximize and close window. It's working OK, but also I want to catch changing window state for Maximize / Restore down button. For example, when user double click on window title, window maximized and corresponding button should automatically repaint for "Restore down" state.
As I know, there is WM_SYSCOMMAND message for Form which notify for window state change. And we can get parent form for button (by GetParentForm()). So how to tie it all together? Or maybe you suggests something else?
Button inherits by TCustomControl.

Android - How to make keyboard come up on EditText

I have a view with an editText but the keyboard doesn't show up. After lots of research the only suitable thing I could find was how to make the keyboard appear when first loading the view. However, if the user closes the keyboard it seems there is no way to get it back.
How can I make the keyboard appear every time the user enters the editText field?
Whenever you click in the EditText box to type the text, then android keyboard automatically open.

New key on the keyboard

I work on a iPhone project with iOS 4 and Xcode 4.
In a view I have several UITextField, that the user fills with numbers. So only the Numbers keyword is used.
When the user fills in a text field and click Go, some processing is started (modification of the text of several textFields).
Now I would like to consider also a second option: user open the keyboard but then decides to close it without any process (i.e. cancel the process).
So I need a keyboard with a cancel key as shown on this the picture:
Finally my question: how can I create a keyboard with a cancel key as above?
Edit: picture of my view
The keyboard cannot be modified. You should add a cancel button, or some other way of triggering a cancel, in your UI.

What event activates the keyboard in mobile safari

So the focus event causes the soft keyboard to come up for input fields. Im trying to find a way to stop this occuring. The reason is, as some of you may know, a click event has a 300ms delay before anything happens.
To get around this, we have implemented Googles FastButton http://code.google.com/mobile/articles/fast_buttons.html its working good after a minor tweak to also prevent a second mousedown, but if we click on a button and go to a second page that also has a input textfield, the keyboard still pops up.
I've tried preventing the touchend, mousedown, mouseend, click, firing again, and that helps it by not having the flashing cursor on the textfield but the keyboard is still there. If i blur the field you still see the keyboard popping up then disapparing which is not acceptable.
Any ideas?
Hmm... have you considered disabling the fields with disabled="disabled" while loading, and only then enabling them? It might let you get around the initial focused state that launches the keyboard, so that you can blur first, then enable?