Reproduction link
https://ant.design/components/date-picker#date-picker-demo-placement
Steps to reproduce
1.选择Left方向,打开日期选择
2.然后再切换至right方向,activeBar静止不动

What is expected?
activeBar移到所选input下方
What is actually happening?
activeBar静止不动
| Environment |
Info |
| antd |
5.21.6 |
| React |
18.3.1 |
| System |
win10 |
| Browser |
chrome |
Reproduction link
https://ant.design/components/date-picker#date-picker-demo-placement
Steps to reproduce
1.选择Left方向,打开日期选择

2.然后再切换至right方向,activeBar静止不动
What is expected?
activeBar移到所选input下方
What is actually happening?
activeBar静止不动