Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

Reactist follows [semantic versioning](https://semver.org/) and doesn't introduce breaking changes (API-wise) in minor or patch releases. However, the appearance of a component might change in a minor or patch release so keep an eye on redesigns and make sure your app still looks and feels like you expect it.

# Next
# 26.2.5

- [Fix] Add top and bottom paddings to the `Tab` component.
- [Fix] `SubMenu` will only render at the bottom when there isn't enough space in either side of the parent menu.

# 26.2.4

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "henning@doist.com",
"url": "http://doist.com"
},
"version": "26.2.4",
"version": "26.2.5",
"license": "MIT",
"homepage": "https://github.com/Doist/reactist#readme",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/menu/menu.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ be changed by passing `modal={false}` to `<MenuList>`

You may nest the `<SubMenu>` component within `<Menu>` to create submenus.

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.
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.

<Canvas>
<Story
Expand Down
2 changes: 1 addition & 1 deletion src/menu/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const MenuList = React.forwardRef<HTMLDivElement, MenuListProps>(function MenuLi
className={classNames('reactist_menulist', exceptionallySetClassName)}
getAnchorRect={getAnchorRect ?? undefined}
modal={modal}
flip={flip ?? (isSubMenu ? 'bottom' : undefined)}
flip={flip ?? (isSubMenu ? 'left bottom' : undefined)}
/>
</Portal>
) : null
Expand Down
Loading