|
|
@@ -434,6 +434,7 @@ function DropdownEvents() {
|
|
|
| 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** |
|
|
|
| contentClassName | Drop-down menu root element class name | string | | |
|
|
|
+| 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 |
|
|
|
| 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 |
|
|
|
| mouseEnterDelay | After the mouse is moved into the Trigger, the display time is delayed, in milliseconds (only effective when the trigger is hover/focus) | number | 50 | |
|