Skip to content

Commit

Permalink
Merge pull request #316 from alleslabs/fix/contract-cta
Browse files Browse the repository at this point in the history
fix: stop propagation on Contract CTA menu
  • Loading branch information
evilpeach committed May 5, 2023
2 parents b155134 + 5463d55 commit 94e8830
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

3 comments on commit 94e8830

@vercel
Copy link

@vercel vercel bot commented on 94e8830 May 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 94e8830 May 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 94e8830 May 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.