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

Shown/hidden events not subscribed to properly for Bootstrap 3 #184

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

jcheng5
Copy link
Collaborator

@jcheng5 jcheng5 commented Feb 11, 2016

This should fix the common issue of htmlwidgets not working with some Shiny tab layouts and other Bootstrap 3 based showing/hiding mechanisms.

The "shown" and "hidden" events work with Bootstrap 2, but not Bootstrap 3, unfortunately. We should be listening for both. I also added the .htmlwidgets namespace to the end. It will still subscribe to shown and shown.bs.tab, see the event namespaces docs here: http://api.jquery.com/on/

jjallaire added a commit that referenced this pull request Feb 11, 2016
Shown/hidden events not subscribed to properly for Bootstrap 3
@jjallaire jjallaire merged commit 10ddd77 into master Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants