jquery/jquery-mobile — Issue #3191: Button does not trigger click if user aims for the text
Author: xtrimsky
Created: 2011-11-29 19:52:12+00:00
State: open

If I have a link in my jQuery Mobile app, and make it a button with .button();. If I click on the text (center of the button), it will not throw the event "click".

Here is an example: http://jsfiddle.net/9rZHg/

Run this script, and try aiming for the text. The alert popup will not show up. It will work only if you click on other parts of the button.

The same occurs while testing on the device.