Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Ladda buttons not working if initialized when hidden (in table) #32

Open
mm-gmbd opened this issue Oct 9, 2014 · 2 comments
Open

Ladda buttons not working if initialized when hidden (in table) #32

mm-gmbd opened this issue Oct 9, 2014 · 2 comments

Comments

@mm-gmbd
Copy link

mm-gmbd commented Oct 9, 2014

Before I ask my first question - I'm confused: is this a separate library from hakim's and are they both being separately maintained? What is the difference between the two? I noticed I couldn't submit an issue to hakim's ladda github (leads me to believe it's no longer maintained?)

Onto the question.

I have a table which is enclosed in a bootstrap accordion. The accordion starts off unopened, but there is a ladda button enclosed in the table (which is in the accordion) which is therefore hidden/not visible. When I instantiate the Ladda button, open the accordion, and then press the button, the button operated, but the loading spinner is no longer a spinner, it is just a dot.

JSFiddle here: http://jsfiddle.net/mmuelle4/tpkjwa1y/

@opb
Copy link

opb commented Oct 29, 2014

I get the same when using a modal, just a dot.

@gincymathai
Copy link

Solved. Initialise to null and then create on click.
JSFiddle here: http://jsfiddle.net/tpkjwa1y/1/

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

3 participants