Skip to content

Commit

Permalink
🔥 Hotfix the forum post context menu (#4861)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan authored Jul 7, 2024
2 parents acad5db + b1d8fc6 commit 76697cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.7.1] - 2024-07-07

### Fixed
- Forum post context menu.

## [3.7.0 (Petra)][3.7.0] - 2024-06-17

### Added
Expand Down Expand Up @@ -402,7 +407,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.1.1] - 2022-12-02

[unreleased]: https://github.com/Joystream/pioneer/compare/v3.7.0...HEAD
[unreleased]: https://github.com/Joystream/pioneer/compare/v3.7.1...HEAD
[3.7.1]: https://github.com/Joystream/pioneer/compare/v3.7.0...v3.7.1
[3.7.0]: https://github.com/Joystream/pioneer/compare/v3.6.0...v3.7.0
[3.6.0]: https://github.com/Joystream/pioneer/compare/v3.5.2...v3.6.0
[3.5.2]: https://github.com/Joystream/pioneer/compare/v3.5.1...v3.5.2
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joystream/pioneer",
"version": "3.7.0",
"version": "3.7.1",
"license": "GPL-3.0-only",
"scripts": {
"build": "node --max_old_space_size=4096 ./build.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export const ContextMenu = ({ items, size, title, isResponsive }: ContextMenuPro
event.stopPropagation()
setMenuVisible(!isMenuVisible)
},
onBlur: () => setMenuVisible(false),
}

useOutsideClick(popperElementRef, isMenuVisible, () => setMenuVisible(false))
Expand Down

0 comments on commit 76697cd

Please sign in to comment.