Comments (9)
norepro here, I've just got it working in my application.
I would point out that the API changed slightly for dropdowns, but if it works when you directly include it then I'm not sure where the problem is.
from bootstrap-sass.
Possibly related: after updating bootstrap-sass from 1.4.3 to 2.0.0, I'm getting:
couldn't find file 'bootstrap-alerts'
(in /Volumes/Macintosh HD/Data/Dropbox/railswork/marqer/app/assets/javascripts/application.js:12)
The referenced line is
//= require bootstrap-alerts
from bootstrap-sass.
Never mind. Twitter changed from bootstrap-alerts to bootstrap-alert. A foolish consistency...
from bootstrap-sass.
Try this in application.js
//= require jquery
//= require jquery_ujs
//= require bootstrap
I was having the same problem until I moved the //= require bootstrap
statement AFTER the //= require jquery_ujs
statement.
from bootstrap-sass.
@barriault twitter/bootstrap
? Are you pulling in an additional library? bootstrap-sass doesn't have anything namespaced under twitter.
from bootstrap-sass.
@thomas-mcdonald Sorry, I've been playing with both the bootstrap-sass
and the bootstrap-sass-rails
gems. But I was having the same problem in both my test applications until I moved the require AFTER the jQuery stuff.
from bootstrap-sass.
The Twitter components depend upon the presence of jQuery, although they shouldn't need the UJS helper.
from bootstrap-sass.
Thanks for the responses. Changing the require order fixes this for me.
from bootstrap-sass.
I'm actually randomly running into this issue after everything working perfectly for so long.
The Dropdown JS suddenly does not work for me. Everything else works fine. I suspect there's some sort of JS clash somewhere, but I'm not sure where.
I think the problem started after moving the gem out of the :asset group because I was having trouble deploying to Heroku.
from bootstrap-sass.
Related Issues (20)
- Bug on collapse HOT 1
- sass::syntaxerror Undefined mixin 'border-radius'
- php bin/console assetic:dump --env prod causes error
- Build fails: Unclosed string HOT 1
- Deprecation warnings with `Dart Sass 1.33.0` HOT 8
- Bootstrap-sass v3.3.7 generates a "Using / for division is deprecated and will be removed in Dart Sass 2.0.0." warning when using laravel mix HOT 1
- tooltip inside modal window, on hover of the element scroll bar goes to top - blocker
- math.div changes applied to non-division variables HOT 6
- Compatibility with gulp-sass 4.1.1 broken with bootstrap-sass 3.4.3 and 3.4.2 HOT 24
- Wrong use of Math.div. Breaks compilation HOT 1
- Update packagist for 3.4.3 HOT 7
- 3.4.2 has breaking change math.div HOT 3
- Grunt compass:dist task failing due to Invalid CSS in bootstrap-sass-official/assets/stylesheets/bootstrap/_variables.scss HOT 4
- Font glyphicons is affecting performance HOT 1
- Issue with tooltip
- Removal of sassc dependency HOT 5
- Well, it's only shown if it was already open: if (this._isShown()) {
- Fakeout
- Feature: Additional utilities for width and height property
- [WARNING] Expected ")" to end URL token [css-syntax-error]
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 bootstrap-sass.