-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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抽屉嵌套组件(内含抽屉)多重打开第一层会遮挡最后打开的抽屉弹层 #6381
Comments
Translation of this issue:Drawer Drawers Nested Components (including drawers) Multiple open first floors cover the last open drawer structurereproduction link[https://stackblitz.com/edit/angular-giqmv2?file=src/app/child/child.html](https://stackblitz.com/edit/angular-giqmv2?file=src/app/child/ Child.html) steps to reproduceDrawer (DRAWER) is opened in the current module component, and its content calls another module component, which also contains a drawer Drawer, which opens the drawer to be blocked by the first open drawer. The drawer Nzzindex needs to be set in the "First Module", such as: 999. What is expected?No need to set NZZIndex by default. What is actually happens?The current hierarchy problem can only be set to NZZIndex processing.
The original version 9.3 is not set (this problem after the upgrade). |
11.2版本还没修复...多drawer需定义层级。 |
还有,若路由变更,跳转别的页面,上个页面的抽屉无法自动关闭,再点击也无法关闭。 |
可以试试创建一个服务存储抽屉这种组件的实例,监听相应路由事件调用实例的close方法 |
那样貌似麻烦了 |
Reproduction link
https://stackblitz.com/edit/angular-giqmv2?file=src/app/child/child.html
Steps to reproduce
当前模块组件中打开抽屉(Drawer),其内容调用另一个模块组件,此模块组件也含有抽屉Drawer,打开这个抽屉会被第一次打开的抽屉所遮挡。需要在“第一模块”中设置抽屉nzZIndex ,如:999,方可。
What is expected?
默认无需设置nzZIndex。
What is actually happening?
当前层级问题,只能设置nzZIndex处理。
原9.3版本是不用设置(升级后出现这个问题)。
The text was updated successfully, but these errors were encountered: