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
Navbar collapse button is not working in mobile #204
Comments
I try 'ember-twiddle' to see comfortable but I stuck on this library into 'twiddle.json' file. |
You don't use any of the Ember components there!? It cannot work this way. Plain markup does not work, you have to use the Ember components as it is documented here: |
I'm sorry to post in short-thinking. I though Ember components is optional. If I want to avoid using bs-components, I should not use bootstrap components or javascript. Right? Thank you for maintaing this good open source. |
Well, the idea for ember-bootstrap is to replace the original bootstrap javascript plugins (jQuery based) with real native Ember components. For just the static things in bootstrap like grids etc. you don't need the Ember components. But for the dynamic parts, that also would require the use of the bootstrap javascript plugins, you should use the components provided by this addon. Theoretically you may be able to work with the original bootstrap.js, but I think this will not work well in an Ember app, no properties you can bind things to, no Run Loop support, etc. But that is out of scope for ember-bootstrap, you are on your own if you really want to try that. (I would highly not recommended this) In your example above, the navbar uses the collapse functionality, so it should be used with components! |
What I try is 'navbar-default' template in bootstrap official website.
http://getbootstrap.com/components/#navbar-default
The other component work fine but collapse button is not working in mobile.
The text was updated successfully, but these errors were encountered: