From b1d8fc60b99fdf90faaafa157c7977751f1317ba Mon Sep 17 00:00:00 2001 From: Theophile Sandoz Date: Sun, 7 Jul 2024 19:43:20 +0200 Subject: [PATCH] Fix the forum post context menu --- CHANGELOG.md | 8 +++++++- packages/ui/package.json | 2 +- .../ui/src/common/components/ContextMenu/ContextMenu.tsx | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd336a688..6932b2fee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/packages/ui/package.json b/packages/ui/package.json index fa9c2700fd..800e2db8ec 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -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", diff --git a/packages/ui/src/common/components/ContextMenu/ContextMenu.tsx b/packages/ui/src/common/components/ContextMenu/ContextMenu.tsx index 7219731eaf..b05fa2d099 100644 --- a/packages/ui/src/common/components/ContextMenu/ContextMenu.tsx +++ b/packages/ui/src/common/components/ContextMenu/ContextMenu.tsx @@ -44,7 +44,6 @@ export const ContextMenu = ({ items, size, title, isResponsive }: ContextMenuPro event.stopPropagation() setMenuVisible(!isMenuVisible) }, - onBlur: () => setMenuVisible(false), } useOutsideClick(popperElementRef, isMenuVisible, () => setMenuVisible(false))