The cordova keyboard is automatically displayed on every page of the form.

I am trying to create an application using ionic frame work with angular JS, which has many forms. when the opening open keyboard opens automatically. I am using an ionic keyboard. I used

<preference name="KeyboardDisplayRequiresUserAction" value="true" /> 

but not used.

please help me automatically stop opening the keyboard.

+6
source share
2 answers

I solved the same problem by adding the attribute below to the button or element that opens the form.

 data-tap-disabled="true" 

eg:

 <div data-tap-disabled="true" ng-click="openForm()"> Click here to open form </div> 

Further documentation can be found at the link below.

Link here

+4
source

This happened to me when the click event was processed after the page. See the GitHub Question I opened: https://github.com/driftyco/ionic/issues/3649

+1
source

Source: https://habr.com/ru/post/981141/


All Articles