flipswitch widget visual error inside popup #7174

Closed
chet-manley opened this Issue Feb 25, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@chet-manley

New flipswitch widget inside of a popup with a ui-field-contain wrapper AND a label causes flipswitch to become width:100% and float:none. This causes the flipswitch to become visually unusable. The old slider method also becomes 100%, but does not break functionality. Relevant selector: ".ui-popup .ui-field-contain>label~[class*=ui-]".

Code review: http://jsbin.com/acIRUBo/2/edit
Expected: 100% width flipswitch that does not break when you click on it.
Preferred: A normal sized flipswitch. Is the 100% width a product of ui-field-contain ?
Actual: 100% width flipswitch that breaks visually when clicked.
Tested on: Chrome 33.0.1750.117m && Android 4.3
Using: jQuery 2.1.0 and jQm 1.4.0 && 1.4.1

@jaspermdegroot jaspermdegroot self-assigned this Feb 26, 2014

@jaspermdegroot jaspermdegroot added this to the 1.4.2 milestone Feb 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment