Skip to content
This repository

Re-enhancement after manipulating button state #3635

Closed
itsnotvalid opened this Issue February 24, 2012 · 7 comments

5 participants

itsnotvalid Jasper de Groot Gabriel "_|Nix|_" Schulhof Todd Parker Adam George
itsnotvalid

Tested on [c5f0eb3]. With a call to .buttonMarkup() on a jQuery object that is correctly enhanced as a grouped button, it would fall back to a button with rounded corners.

Follow up: a quick fix would be executing .controlgroup() on the block level element enclosing this button.

Todd Parker

Can you post a test page using the latest js and css? Template: http://jsbin.com/efufoy/edit

itsnotvalid

http://jsbin.com/uwuniy

Also included workaround for #3637.

Adam George

+1 having this same issue

But calling .controlgroup() will only fix it if the control group is visible on the page. For some reason it does nothing if the control group is hidden.

Jasper de Groot
Owner
uGoMobi commented May 22, 2012

@itsnotvalid - When I look at your JSBin I don't see an issue. Can you confirm this is fixed? Same goes for #3637

itsnotvalid

@uGoMobi please look at the source of that JSBin, I actually did two workarounds to make it work as expected. I shouldn't need to call .controlgroup() to get it repainted (and .trigger('vmouseout') for #3637). Not sure I am am abusing anything here, though.

Jasper de Groot
Owner
uGoMobi commented May 23, 2012

@itsnotvalid

Sorry, I should have read better before looking at the JSBin.
I agree that we have to look into re-enhancement after manipulating the state.
Besides that we are going to add examples to the docs that show what functions to use for manipulating, etc.. (#4389)
If you don't mind I change the topic of this issue to a more general one and close #3637. Will look at both examples in your fiddle while working on the issue.

Jasper

Note: The delete icon seems a bit misaligned. We need to check this.

itsnotvalid

Thank you please go ahead. I would be notified anyways.

Gabriel "_|Nix|_" Schulhof gabrielschulhof closed this in 3c009a6 October 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.