C
C
Costa Concordia2015-11-13 12:22:26
JavaScript
Costa Concordia, 2015-11-13 12:22:26

Why buttons are not used on tablets and mobile devices?

<div class="col">
                    <span class="name">{{localStorage.profile.info.name + ' ' + localStorage.profile.info.surname}}</span>
                    <span class="role r-expert">Специалист</span>
                    <button class="btn-primary btn-profile" ui-sref="profile({profileId: localStorage.profile.userId})" ng-if="role === 'r-expert'">Профиль</button>
                  </div>

When clicking on tablets or mobiles, only 1 get request is performed and no action is taken. What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Kuznetsov, 2015-11-19
@BbFlaMe

Recently I came across a similar one, in general, all the links didn’t work for me on mobile devices.
The problem was in ng-click on the root element, I replaced it with my directive and it all worked
. I didn’t understand where the legs grew from

A
Alexander Reshetnyak, 2015-11-20
@Vampireos

try to add in body
<body ontouchstart="">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question