diff --git a/components/select/index.en-US.md b/components/select/index.en-US.md index 757a05666b..ceee1d0e1c 100644 --- a/components/select/index.en-US.md +++ b/components/select/index.en-US.md @@ -115,6 +115,25 @@ It's caused by option with different `label` and `value`. You can use `optionFil You can control it by `open` prop: [codesandbox](https://codesandbox.io/s/ji-ben-shi-yong-antd-4-21-7-forked-gnp4cy?file=/demo.js). +### I don't want dropdown close when click inside `dropdownRender`? + +Select will close when it lose focus. You can prevent event to handle this: + +```jsx + ( +
{ + e.preventDefault(); + e.stopPropagation(); + }} + > + Some Content +
+ )} +/> +``` + ### 自定义 Option 样式导致滚动异常怎么办? 这是由于虚拟滚动默认选项高度为 `32px`,如果你的选项高度小于该值则需要通过 `listItemHeight` 属性调整,而 `listHeight` 用于设置滚动容器高度: