Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

flipswitch widget visual error inside popup #7174

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

flipswitch widget visual error inside popup #7174

chet-manley opened this issue Feb 25, 2014 · 0 comments
Assignees
Milestone

Comments

@chet-manley
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants