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

Closed
4 tasks
itismohammadreza opened this issue Dec 28, 2024 · 1 comment · Fixed by #17266
Closed
4 tasks

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

itismohammadreza opened this issue Dec 28, 2024 · 1 comment · Fixed by #17266
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
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! ✨

@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Resolution: Help Wanted Issue or pull request requires extra help and feedback labels Jan 15, 2025
@mertsincan mertsincan modified the milestones: Future, 19.0.6 Jan 15, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants