Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling controlgroup constructor causes fieldset width to shrink #4716
I call controlgroup constructor when data is updated on a page using knockoutjs, so that jqm control styles can be re-applied correctly. The following code used to work, until I upgraded to jqm 1.1.1. Every time the constructor is called, the fieldset width would shrink. This only happens when a fieldset controlgroup is inside of a div fieldcontain. Fieldset not nested inside of a div fieldcontain still works fine. The problem is observed in Google Chrome in Windows and Safari on iPad. I have not tried other browsers yet. Here is the sample code:
Thanks for reporting the issue with a test page.