Antd Input.Search icon cannot trigger onSearch event

the Input.Search component of antd is used locally. The search icon on the right is clickable, but when it is deployed online, the right icon cannot be clicked, and it is found that there is a pointer-events: none; style on the line. Check, this style will isolate the icon, so that it can not trigger the event, but after I covered the original none with pointer-events:auto;, it still won"t work? What could it be? In earlier versions of antd, does it support the click-triggered onSearch event of ant-input-search-icon?

Mar.23,2021

Boss, have you solved this? I also encountered this kind of problem. When the current Input.Search form is disabled, icon's click event onSearch can be triggered locally, but not online. Ask for an answer,

Menu