J
J
Jane Doe2018-12-30 14:53:04
JavaScript
Jane Doe, 2018-12-30 14:53:04

How to configure Selectize.js to work on iOS and not throw away the keyboard on mobile devices?

How to configure Selectize.js to work on iOS and not throw away the keyboard on mobile devices?
Works everywhere except iOS, but on mobile it throws out the keyboard Tried:
<select selectize="vm.pks" change="pk"></select>

<select selectize="vm.pks" change="pk" search-enabled="false" type="text" readonly></select>

We tried to do it like this:
<select>
      <option ng-repeat="pk in vm.pks" ng-click="vm.changePk(pk)" value="{active: pk === vm.currentPK}" >{{pk}}</option>
</select>

Clicks do not work, although everything is fine on the buttons:
<button"
                    ng-repeat="pk in vm.pks"
                    ng-click="vm.changePk(pk)"
                    ng-class="{active: pk === vm.currentPK}"
                    >{{pk}}</button>

Started adding to CSS:
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

Site on MODX

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maniiii, 2019-01-03
@maniiii

Are there any errors in the logs? Hairdryer on?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question