Skip to content

Commit

Permalink
fix: stop propagation on Contract CTA menu
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeach committed May 3, 2023
1 parent b155134 commit 5463d55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#316](https://github.com/alleslabs/celatone-frontend/pull/316) Stop propagation when clicking on ContractRowCTA menu
- [#306](https://github.com/alleslabs/celatone-frontend/pull/306) Fix react query function timeout and retries, minor ui bugs
- [#307](https://github.com/alleslabs/celatone-frontend/pull/307) Remove minor ui in account detail
- [#297](https://github.com/alleslabs/celatone-frontend/pull/297) Fix open new tab on tx modal link clicked
Expand Down
9 changes: 7 additions & 2 deletions src/lib/components/table/contracts/ContractsTableRowCTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,15 @@ export const ContractsTableRowCTA = ({

<TableRow>
<Menu>
<MenuButton size="sm" variant="ghost-gray" as={Button}>
<MenuButton
size="sm"
variant="ghost-gray"
as={Button}
onClick={(e) => e.stopPropagation()}
>
<CustomIcon name="more" boxSize="16px" />
</MenuButton>
<MenuList>
<MenuList onClick={(e) => e.stopPropagation()}>
<EditContractDetailsModal
contractLocalInfo={contractInfo}
triggerElement={
Expand Down

0 comments on commit 5463d55

Please sign in to comment.