Comments (5)
Are you loading bootstrap.js? I was doing that and had the same problem. Removed bootstrap.js from my HTML HEAD and it was fixed.
from ember-bootstrap.
hmm I am. BUT... my Ember app is only part of a larger app (shell) which needs bootstrap.js as well. This is my biggest complaint with Ember. The constant struggle :-)
I thought this add-on would allow my own bootstrap versions (fonts, themes etc.). I used the switches to turn off the bootstrap...
'ember-bootstrap': {
'importBootstrapCSS': false,
'importBootstrapFont': false
}
from ember-bootstrap.
I didn't notice the additional bootstrap had been added to the bower file. hmmm. I think the add-on should only do that, be an add-on. Not control the bootstrap versions. I wonder how I can fix this.
from ember-bootstrap.
You can control the bootstrap versions using your bower.json
. And btw, that's what most addons are used for, including third party assets, so this is perfectly ok.
ember-bootstrap does not rely on the original bootstrap.js, it uses native ember components for all the JavaScript functionality. That's what it is made for. In fact if you exclude the other bootstrap imports like you did, absolutely nothing from the bower installed bootstrap is included in your ember app. However if you include bootrstrap.js by yourself, which adds its own JS functionality on existing ember component controlled DOM elements, thinks go wrong. No way around this!
from ember-bootstrap.
Thanks for the back-n-forth on this. I was able to resolve the problem after reading this thread.
My solution was to head over to getbootstrap.com and customize a bootstrap.min.js file. In my case, I unchecked all Common CSS (which deselected a few components), then I unchecked JavaScript components: Dropdown and the jQuery component Dropdown.
I believe unchecking both Dropdowns and compiling it were the two critical steps. Bootstrap 3 for me.
All my other addons are now working great with this one.
from ember-bootstrap.
Related Issues (20)
- Remove BrowserStack badge
- Run tests on Safari again HOT 2
- Remove subclassing deprecation message
- Drop RSVP dependency
- Road to TypeScript HOT 16
- Review need of custom CSS HOT 2
- Deprecate Bootstrap CSS, fonts, and theme import
- Deprecate inserting wormhole target HOT 1
- Improve public API for <BsDropdown>
- Bootstrap 5 dropdown direction and menu alignment HOT 5
- BsCarousel indicators are missing `aria-label` attribute.
- BsCarousel customizable controls are not working HOT 1
- Tracking issue: ember-bootstrap 7.0.0
- Deprecate ember-bootstrap blueprints HOT 2
- [6.1.0] {{on 'click'}}, <LinkTo> and <menu.linkTo> in dropdown menus dysfunctional HOT 8
- Test app does not rebuild when doing changes to the library HOT 2
- TypeScript files are published and not transpiled to JavaScript before HOT 5
- Tooltips are positioned too close to triggering element HOT 10
- Support responsive alignment for dropdown menu
- No Button component API docs on www.ember-bootstrap.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-bootstrap.