CodePudding user response:
You can achieve your goal by using some CSS styles, like this:
.ant-picker-date-panel .ant-picker-cell:not(.ant-picker-cell-in-view) .ant-picker-cell-inner {
display: none;
}
.ant-picker-date-panel .ant-picker-cell:not(.ant-picker-cell-in-view) {
pointer-events: none;
}
I've implemented an example Here on Stackblitz, you can check it out and find the example source code.

