fix: error when target not an html element (#29523)
fix: error when target not an html element (#29523)

fix error when target is object but not an html element
ant-design/ant-design,icaife/ant-design,icaife/ant-design,zheeeng/ant-design,icaife/ant-design,ant-design/ant-design,elevensky/ant-design,ant-design/ant-design,zheeeng/ant-design,icaife/ant-design,ant-design/ant-design,elevensky/ant-design,zheeeng/ant-design,elevensky/ant-design,zheeeng/ant-design,elevensky/ant-design