jquery/jquery-mobile — Issue #3781: android 2.3.6 radio buttons change event problem
Author: ibnadam
Created: 2012-03-09 07:09:27+00:00
State: open

First here's the code:

Short option 1

This is some very long option 2

This is some very long option 3

I'm seeing a problem on my Samsung Galaxy s2 (android 2.3.6) where if I make selection by clicking on a radio button where there is label text I get inconsistent results: i.e. the value that I get in the change handler is not for the button that appears to be checked.

The easiest way I found to reproduce this problem is as follows (You may have to try this a few times):
When first option has a short label, and the next option has a long label (as in my example) and when selecting the first option your finger happens to touch that first button & the next button as well AND your finger touches the part of the first button with no label text AND your finger touches the part of the second button with the label text, then 2 change events are fired which is fine but you end up with the first button appearing to be checked whereas the change event handler shows the checked value to be for the second button.