twbs / twbs/bootstrap-rubygem

Dropdown menu isn't opening

Open
#180 4 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
2k
Forks
437
Avg merge
1h
Merged PRs (30d)
1

Description

Hi, I tried to use this GEM in distinct SO (Windows and Linux), tried to look at google but I'm not able to resolve. I create a dropdown menu, it's showed in Browser but I'm not able to open.
I'm running
rails: 6.0.0
ruby: 2.6.5p114
Ubuntu 16.04.6 LTS

An example that I'm using

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropdown button
  </button>
  <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
    <a class="dropdown-item" href="#">Action</a>
    <a class="dropdown-item" href="#">Another action</a>
    <a class="dropdown-item" href="#">Something else here</a>
  </div>
</div>

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided dropdown markup and the reported Rails 6 and Ruby 2.6.5 environment, then reproduce the failure in the browser on the described setup. Compare the working and failing application setup to identify what prevents the dropdown from opening; done when the example menu opens consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, rails, ruby
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.