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

[Bug]: Drawer component is not visible all the time; the Z-index property needs to be implemented #1290

Open
1 task done
vsnshanmuganathan opened this issue Nov 11, 2024 · 1 comment
Assignees
Labels
Components Dedicated to Frontend Visual Components Javascript Frontend Pull requests that update Javascript code

Comments

@vsnshanmuganathan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If we have multiple drawer components, sometimes one may be hidden behind another and not visible.

Expected Behavior

The last called Drawer component should be visible on the screen.

Steps to reproduce

I'm not a coding expert, but in WordPress, there is something called the Z-index property, which is used to stack containers on top of each other. The visibility of these containers depends on their Z-index values.
I have attached the project file to reproduce this error.
test.json

Environment

Lowcoder latest on Docker (2.4.12)

Additional Information

In the video below, if I open the account drawer first and then the left drawer, both of them overlap (which is fine) until I refresh the page.
https://github.com/user-attachments/assets/56a6491b-066e-4e90-8fb1-30c2aecd7f79

However, if I open the left drawer first, close it, and then open the account drawer followed by the left drawer, the left drawer appears behind the account drawer, which is not what I expected. The left drawer should be above the account drawer.

Screen.Recording.2024-11-11.at.4.25.11.PM.mov
@vsnshanmuganathan vsnshanmuganathan changed the title [Bug]: <title>Drawer component is not visible all the time; the Z-index property needs to be implemented.s [Bug]: <Drawer component is not visible all the time; the Z-index property needs to be implemented> Nov 11, 2024
@vsnshanmuganathan vsnshanmuganathan changed the title [Bug]: <Drawer component is not visible all the time; the Z-index property needs to be implemented> [Bug]: Drawer component is not visible all the time; the Z-index property needs to be implemented Nov 11, 2024
@adnanqaops adnanqaops added Javascript Frontend Pull requests that update Javascript code Components Dedicated to Frontend Visual Components labels Nov 12, 2024
@adnanqaops adnanqaops moved this to 🆕 New in Lowcoder Nov 12, 2024
@vsnshanmuganathan
Copy link
Author

While solving this bug, please add a z-index to the modal component as well, because both the tabbed and modal components are overlapping and hiding each-other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Components Dedicated to Frontend Visual Components Javascript Frontend Pull requests that update Javascript code
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants