Bootstrap 4.6.2 popper issue
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 2k
- Forks
- 437
- Avg merge
- 1h
- Merged PRs (30d)
- 1
Description
Ruby 3.1.3
Rails 7.0.4.3
using import maps and sprockets (without nodejs).
gem 'bootstrap', '~> 4.6', '>= 4.6.2'
there is an issue with popper: undefined is not an object (evaluating 'e.Popper=t()')
when change to bootstrap 5v, the issue disappear. (same config just different gem version)
config/importmap.rb
pin 'popper', to: 'popper.js', preload: true
pin 'bootstrap', to: 'bootstrap.min.js', preload: true
app/assets/stylesheets/application.scss
@import 'bootstrap';
app/javascript/application.js:
//= require jquery3
//= require popper
//= require bootstrap
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error with Ruby 3.1.3, Rails 7.0.4.3, Bootstrap 4.6.2, import maps, and Sprockets, then inspect config/importmap.rb, app/assets/stylesheets/application.scss, and app/javascript/application.js. Done means the Bootstrap 4.6.2 setup loads Popper without the reported undefined-object error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, rails, ruby, scss
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100