Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iCheck with twitter bootstrap modal doesn't work #70

Closed
jprubio opened this issue Aug 30, 2013 · 2 comments
Closed

iCheck with twitter bootstrap modal doesn't work #70

jprubio opened this issue Aug 30, 2013 · 2 comments

Comments

@jprubio
Copy link

jprubio commented Aug 30, 2013

When i use iCheck alone it works fine but inside a modal dialog box i run into problems. It seems to be a mistake about the boundaries of the checkbox.

@tab
Copy link

tab commented Oct 26, 2013

You should initialize iCheck after modal form are added into DOM:

$('#myModal').on('shown', function () {
  // initialize iCheck
})

http://getbootstrap.com/javascript/#modals

@ghost
Copy link

ghost commented Mar 30, 2015

Sorry I know this was closed a while back, however I've got the same issue.

I have re-initialised iCheck when the bootstrap modal is shown. Hovering over and clicking on the label works fine, however hovering over and clicking on the checkbox itself doesn't work when it's in a bootstrap modal.

The same code works fine outside of the modal. I'm using 1.0.2.

Thanks,
Andy

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

No branches or pull requests

3 participants