|
@@ -322,6 +322,7 @@ function DropdownEvents() {
|
|
| children | Child elements wrapped by the drop layer | ReactNode | | |
|
|
| children | Child elements wrapped by the drop layer | ReactNode | | |
|
|
| clickToHide | Whether to close the drop-down layer automatically when clicking on the drop-down layer | boolean | | **0.24.0** |
|
|
| clickToHide | Whether to close the drop-down layer automatically when clicking on the drop-down layer | boolean | | **0.24.0** |
|
|
| contentClassName | Drop-down menu root element class name | string | | |
|
|
| contentClassName | Drop-down menu root element class name | string | | |
|
|
|
|
+| disableFocusListener | When trigger is `hover`, does not respond to the keyboard focus popup event, see details at [issue#977](https://github.com/DouyinFE/semi-design/issues/977) | boolean | true | **2.17.0** |
|
|
| keepDOM | Whether to keep the internal component DOM from being destroyed when closing | boolean | false | **2.31.0** |
|
|
| keepDOM | Whether to keep the internal component DOM from being destroyed when closing | boolean | false | **2.31.0** |
|
|
| getPopupContainer | Specifies the parent DOM, and the bullet layer will be rendered to the DOM, you need to set 'position: relative` This will change the DOM tree position, but not the view's rendering position. | function():HTMLElement | () => document.body |
|
|
| getPopupContainer | Specifies the parent DOM, and the bullet layer will be rendered to the DOM, you need to set 'position: relative` This will change the DOM tree position, but not the view's rendering position. | function():HTMLElement | () => document.body |
|
|
| margin | Popup layer calculates the size of the safe area when the current direction overflows, used in scenes covered by fixed elements, more detail refer to [issue#549](https://github.com/DouyinFE/semi-design/issues/549), same as Tooltip margin | object\|number | | 2.25.0 |
|
|
| margin | Popup layer calculates the size of the safe area when the current direction overflows, used in scenes covered by fixed elements, more detail refer to [issue#549](https://github.com/DouyinFE/semi-design/issues/549), same as Tooltip margin | object\|number | | 2.25.0 |
|