dropdown
                                
                                 dropdown copied to clipboard
                                
                                    dropdown copied to clipboard
                            
                            
                            
                        visible is false but still have class “rc-dropdown-open”
file1
  import Button from 'rc-button';
  const overlay = () => {
   return (
    <Button onClick={props.onHandle}> close </Button>
   )
 }
export default overlay
file2
 import Dropdown from 'rc-dropdown';
import Overlay from './overlay'
  const drop = () => {
  const  [visible, setVisible] = useState(false)
    return (
      <Dropdown
        overlay={<OverLay onHandle={setVisible(false}} />}
        visible={visible}
      >
        <Button> show </Button>
      </Dropdown>
    )
  }
export default drop
when click button close , but the Button class still have rc-dropdown-open
@heavenlian Can't reproduce your question, and your codes has many errros~