File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/core/src/hoverMode Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,15 @@ export interface HoverModeContext extends SimpleHoverModeContext {
111
111
*/
112
112
export interface CreateHoverModeContextOptions {
113
113
/**
114
- * TODO: I think this has something to do with how I implemented the MenuBar.
114
+ * This should only be used if creating nested hover mode behavior where the
115
+ * hover mode should default to being enabled if a parent element is hovered.
116
+ * So set this to an element's `id` if a parent element is being hovered when
117
+ * the component **mounts**.
118
+ *
119
+ * The use case for this is the `MenuBar` component since after clicking a
120
+ * menu button or hovering it long enough to enable the hover mode, all child
121
+ * menus should also be in the hover mode until the top-most element is
122
+ * closed.
115
123
*
116
124
* @defaultValue `""`
117
125
*/
You can’t perform that action at this time.
0 commit comments