themesberg / themesberg/flowbite

Bug: Sidebar Fails to Darken When Right-Side Drawer Opens

Open
#836 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When a drawer that opens from the right side of the screen is triggered, the main page content darkens as expected to indicate the focus on the drawer. However, the sidebar, which remains visible, does not darken alongside the rest of the page, leading to inconsistent visual feedback.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the page with the sidebar and right-side drawer feature.
  2. Click on the button or link that triggers the right-side drawer to open.
  3. Observe that the main page content darkens, but the sidebar does not change, remaining fully lit.

Expected behavior
I expected the entire page, including the sidebar, to darken when the right-side drawer opens. This would provide consistent visual feedback across the page, indicating that the focus is on the opened drawer and temporarily away from the main content and sidebar.

Screenshots

Screenshot 2024-03-20 at 05 17 05

Desktop:

  • OS: Mac OS 14.4
  • Browser Chrome
  • Version 122.0.6261.129 (Official Build) (arm64)

Contributor guide

Open the contributing guide

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

Reproduce the right-side drawer behavior on a page with the sidebar, then locate the drawer and sidebar implementation in the project. Check how the darkening overlay is applied when the drawer opens. Done means the sidebar darkens consistently with the main page content while the drawer is open.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss
Domain
design, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.