SM2826

Results 2 issues of SM2826

### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/fervent-currying-8zrp9g?workspaceId=ws_9HVuHGymPYZyisaB4rU9ZJ) ### Steps to reproduce 时间选择完后,快速来回切换4~10次左右后,popover定位就会错误,之后在切换popover也不会在计算了,只有移除焦点后,在聚焦才会重新计算 ![](https://static.cdn.sunmi.com/fe-wasm/bugreport/4.png) ### What is expected? 无论如何切换,popover定位都应该准确 ### What is actually happening? 快速来回切换4~10次左右后,popover定位就会错误 | Environment | Info | | ---...

🐛 Bug
Inactive

关联issue:https://github.com/ant-design/ant-design/issues/54885 通过当前聚焦input的顺序,在进入到重试逻辑时相减的次数不同,来兼容/绕过react 18 useEffect的问题; 本质原因我认为是react 18的原因,但因为我提供不了最小复现路径所以还没有给react 提issue ## Summary by CodeRabbit - 文档 - 新增 RangePicker 时间选择(无需确认)的示例,包含中文本地化、预设时间范围与非受控用法,便于参考使用。 - Bug 修复 - 优化弹层在切换面板或聚焦不同输入时的位置重算与重试策略,减少弹层错位或不显示,交互更稳定顺畅。