Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
checkbox style: .ant-checkbox-input should not have a z-index #10385
Windows 10.0.16299, Chrome 66.0.3359.139, React 16.3.2
Steps to reproduce
As shown in the jsfiddle, use
What is expected?
The checkbox should not appear on top of the overlay.
What is actually happening?
The checkbox does appear on top of the overlay.
This can easily be fixed on the project side, but it implies having z-index >= 2 on every overlay, which is dirty.
The problem is caused by components/checkbox/style/mixin.less#L72.
This issue might be related to ant-design/issues/9840.