Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery Mobile: Button area not fully clickable, only left part of button triggers action
    primarykey
    data
    text
    <p>I have a form with several buttons, I use the first div to make the form wider (width:330px) - appearently the everything is adjusted to this width but the clickable area:</p> <pre><code>&lt;div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all" style="width:330px"&gt; &lt;a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right"&gt;Abbrechen&lt;/a&gt; &lt;form id="navigation" name="navigation" onsubmit="return startNav()"&gt; &lt;div style="padding:15px 20px;"&gt; &lt;h3 class="h2"&gt;Ziel dieser Fahrt:&lt;/h3&gt; &lt;input type="hidden" name="action" id="action" /&gt; &lt;label for="un" class="ui-hidden-accessible"&gt;Stra&amp;szlig;e (Ziel):&lt;/label&gt; &lt;input name="strasse" id="strasse" value="" placeholder="Stra&amp;szlig;e, Gesch&amp;auml;ft, Einrichtung" data-theme="c" type="text"&gt; &lt;label for="pw" class="ui-hidden-accessible"&gt;Stadt (Ziel):&lt;/label&gt; &lt;input name="stadt" id="stadt" value="" placeholder="Stadt oder Ortsbezeichnung" data-theme="c" type="text"&gt; &lt;button type="submit" id="homenav" name="homenav" value="home" data-theme="a" data-icon="myapp-homenav" data-role="button"&gt;nach Hause&lt;/button&gt; &lt;button type="submit" id="worknav" name="worknav" value="work" data-theme="a" data-icon="myapp-worknav" data-role="button"&gt;zur Arbeit&lt;/button&gt; &lt;button type="submit" id="navnav" name="navnav" data-theme="a" value="input" data-icon="myapp-navnav" data-role="button"&gt;Navigation starten&lt;/button&gt; &lt;/div&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> <p>The form renders fine, but the buttons are not triggering the click event on their full length. Clicking the right part, the button toggels but does not submit the form.</p> <p>In fact on clicking it shows only a part stretching from left border to about 70% of the button. Clicking in this area does submit the form.</p> <p><a href="http://oi49.tinypic.com/214qoec.jpg" rel="nofollow noreferrer">Buttons submit area not stretching button width http://oi49.tinypic.com/214qoec.jpg</a></p> <p>Picture: <a href="http://oi49.tinypic.com/214qoec.jpg" rel="nofollow noreferrer">http://oi49.tinypic.com/214qoec.jpg</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload