File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ be changed by passing `modal={false}` to `<MenuList>`
126126
127127You may nest the ` <SubMenu> ` component within ` <Menu> ` to create submenus.
128128
129- On smaller viewports where there isn't enough space to render the submenu on the side, it will be rendered under its parent menu item instead.
129+ On smaller viewports where there isn't enough space to render the submenu on either side, it will be rendered under its parent menu item instead.
130130
131131<Canvas >
132132 <Story
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ const MenuList = React.forwardRef<HTMLDivElement, MenuListProps>(function MenuLi
172172 className = { classNames ( 'reactist_menulist' , exceptionallySetClassName ) }
173173 getAnchorRect = { getAnchorRect ?? undefined }
174174 modal = { modal }
175- flip = { flip ?? ( isSubMenu ? 'bottom' : undefined ) }
175+ flip = { flip ?? ( isSubMenu ? 'left bottom' : undefined ) }
176176 />
177177 </ Portal >
178178 ) : null
You can’t perform that action at this time.
0 commit comments