Open Melmoth-the-Wanderer opened 4 years ago
It's not fixed. There is still a transparent layer when [nzMask]="false" version 12.0.1
@molog Could you please provide a reproduction? We will looks into this. Thanks!
@wendellhu95 https://codesandbox.io/s/stupefied-moon-qg8h2?file=/src/app/app.component.ts The mask is not visible with [nzMask]="false", but still cannot interact with elements outside the drawer.
same problem
how to fix when drawer open background is dark
Need a style of width and height on https://github.com/NG-ZORRO/ng-zorro-antd/blob/64e1c7cf2bd3b094a0124ed8ddb51edab284b927/components/drawer/drawer.component.ts#L61
Hello @Melmoth-the-Wanderer. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution!
你好 @Melmoth-the-Wanderer, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献!
Temporary solution:
I am failed in styles.scss
file write deep style, it is not worked;
but in app.component.scss
file is OK:
::ng-deep .ant-drawer-right.ant-drawer-open{
width: auto !important;
}
Reproduction link
https://stackblitz.com/edit/angular-qcw7sq
Steps to reproduce
1) disable drawer's mask by setting nzMask to false 2) open drawer
What is expected?
What is actually happening?
Rationale: our app is splitted into 2 parts: left side with the tree and right side with tabular data. Clicking table's row on the right side brings the drawer over the table (right side). Now, we would like to drag tree nodes from left side of an app onto the drawer for some reasons. Currently this isn't possible since the mask is always there, transparent - preventing users from dragging the tree node.
Please note that this also happens for ng-zorro-antd@9.2.1