Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer: Overlay of second drawer appears below first drawer when opened #17242

Open
4 tasks
itismohammadreza opened this issue Dec 28, 2024 · 1 comment · May be fixed by #17266
Open
4 tasks

Drawer: Overlay of second drawer appears below first drawer when opened #17242

itismohammadreza opened this issue Dec 28, 2024 · 1 comment · May be fixed by #17266
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@itismohammadreza
Copy link
Contributor

Describe the bug

When using the Drawer component, if a second drawer is opened while the first one is still active, the overlay of the second drawer incorrectly appears beneath the first drawer. This behavior disrupts the expected stacking order and creates a confusing user experience.

image

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/wpdqkp1w

Environment

windows

Angular version

19.0.0

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a component with two Drawer instances.
  2. Trigger the first drawer to open.
  3. While the first drawer is still open, trigger the second drawer to open.
  4. Observe the position of the overlay of the second drawer.

Expected behavior

The second drawer's overlay should appear above the first drawer and its overlay, maintaining the correct stacking order.
example:

image

@itismohammadreza itismohammadreza added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 28, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 30, 2024
@mertsincan mertsincan added this to the Future milestone Dec 30, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 30, 2024
Copy link

Due to PrimeTek's demanding roadmap for PrimeNG, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@mark7p mark7p linked a pull request Dec 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

Successfully merging a pull request may close this issue.

2 participants