Autofocus text field problem

I’m getting another problem. Each time i tap on a menu button (or even in the header) the keyboard is opened automatically.

I think that is an issue caused by the focus on the last text input.

[You can see an example here.][1]

I’m using Ionic 1.0.
[1]: https://www.youtube.com/watch?v=xWj7pDanzGA

Same here. Removing autofocus from any inputs (regardless of which view / state / page) eliminated the problem.

You could if you really need autofocus, focus through JavaScript in an ionicViewSwitcher.on('enter'){} listener.

1 Like