:lipstick: optimize Menu collapse animation transtion (#25301)
:lipstick: optimize Menu collapse animation transtion (#25301)

close #22314
zheeeng/ant-design,elevensky/ant-design,ant-design/ant-design,ant-design/ant-design,icaife/ant-design,elevensky/ant-design,ant-design/ant-design,elevensky/ant-design,zheeeng/ant-design,zheeeng/ant-design,ant-design/ant-design,icaife/ant-design,icaife/ant-design,icaife/ant-design,elevensky/ant-design,zheeeng/ant-design