fix bug:#6911 a-range-picker canot close when set popContainer (#6994)
* fix bug:#6911 a-range-picker 组件选择完之后下拉面板无法收起的问题 * update prettier to 3.0.3 * Update package.json * Update package.json --------- Co-authored-by: tangjinzhou <415800467@qq.com>pull/7025/head
parent
77eab3637c
commit
858c4ec409
|
@ -93,7 +93,8 @@ function PanelBody<DateType>(_props: PanelBodyProps<DateType>) {
|
|||
(picker === 'year' && Number(title) % 10 === 9),
|
||||
...getCellClassName(currentDate),
|
||||
})}
|
||||
onClick={() => {
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
if (!disabled) {
|
||||
onSelect(currentDate);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue