AngularJs:无法在输入字段之间输入

时间:2017-06-30 14:32:53

标签: angularjs

我是使用版本1.6.4的angularjs的新手。我可以像往常一样打字,但是在使用移动设备时无法将光标置于中间以编辑中间的文本。在桌面上一切正常。

首先尝试,没有运气:

<input type="text" placeholder="Name" class="form-control" ng-model="model.user.name">

比我使用md-input但仍然没有运气:

<md-input-container>
   <input type="text" placeholder="Name" class="form-control" ng-model="model.user.name">
</md-input-container>

我无法预测为什么它会像这样。

App.js:

var module = angular.module(__appName, [
    "ui.router",
    "ngMap",
    "ngFileUpload",
    "geolocation",
    "angular-jwt",
    "angular-storage",
    "jkAngularRatingStars",
    "ui.bootstrap",
    "angularMoment",
    "benharold.haversine",
    "ngMaterial",
    "ngAnimate",
    "toastr",
    "ngTagsInput",
    "angular-click-outside",
    "cp.ng.fix-image-orientation"
]);

的index.html:

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300">
    <!--<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">-->
    <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="bower_components/angular-jk-rating-stars/dist/jk-rating-stars.min.css" />
    <link rel="stylesheet" href="bower_components/angular-material/angular-material.min.css">
    <link rel="stylesheet" href="bower_components/angular-toastr/dist/angular-toastr.min.css">
    <link rel="stylesheet" href="bower_components/ng-tags-input/ng-tags-input.min.css" />
    <link rel="stylesheet" href="styles/app.css">


<!-- tail -->
<script src="bower_components/exif-js/exif.js"></script>
    <script src="bower_components/angular/angular.min.js"></script>
    <script src="bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
    <script src="bower_components/angular-animate/angular-animate.min.js"></script>
    <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="bower_components/ngmap/build/scripts/ng-map.min.js"></script>
    <script src="https://maps.google.com/maps/api/js?key="></script>
    <script src="bower_components/ng-file-upload/ng-file-upload.min.js"></script>
    <script src="bower_components/angularjs-geolocation/dist/angularjs-geolocation.min.js"></script>
    <script src="bower_components/angular-jwt/dist/angular-jwt.min.js"></script>
    <script src="bower_components/a0-angular-storage/dist/angular-storage.min.js"></script>
    <script src="bower_components/angular-jk-rating-stars/dist/jk-rating-stars.min.js"></script>
    <script src="bower_components/moment/min/moment.min.js"></script>
    <script src="bower_components/angular-moment/angular-moment.min.js"></script>
    <script src="bower_components/angular-haversine/angular-haversine.js"></script>
    <script src="bower_components/angular-aria/angular-aria.min.js"></script>
    <script src="bower_components/angular-material/angular-material.min.js"></script>
    <script src="bower_components/angular-toastr/dist/angular-toastr.tpls.min.js"></script>
    <script src="bower_components/ng-tags-input/ng-tags-input.min.js"></script>
    <script src="bower_components/angular-click-outside/clickoutside.directive.js"></script>

    <script src="bower_components/angular-fix-image-orientation/angular-fix-image-orientation.js"></script>

0 个答案:

没有答案