v6: responsive navbar drawer incorrect position

Open
#43,051 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bootstrap, css, javascript, scss
Domain
frontend

Research direction

Start with the linked CodePen reduced test case and reproduce the navbar drawer position in Safari on macOS with Bootstrap 6.0.0-alpha.1. Then trace the navbar toggler and drawer positioning entry points; the issue does not name files or tests. Done when the drawer opens at the correct position with the navbar at the top of the page.

Written by the indexing model from the issue text.

Description

bug css v6
Prerequisites
Describe the issue

Clicking on the navbar-toggler icon displays the drawer with an incorrect position: with the navbar at top of the page, the drawer's y coordinate is negative

Reduced test cases

https://codepen.io/editor/echolet/pen/01a12f26-8812-7cc0-a648-0e58bd03691e

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Safari

What version of Bootstrap are you using?

6.0.0-alpha.1

Dominant language
MDX
Stars
175k
Forks
78.7k
Avg merge
1d 10h
Merged PRs (30d)
98

Getting set up

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.

More from twbs/bootstrap

All issues in twbs/bootstrap

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.