Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Fix; popin container was invisible but preventing click of items unde…
Browse files Browse the repository at this point in the history
…rneath (pointer events bug)
  • Loading branch information
sbracegirdle committed Jul 9, 2024
1 parent f27e634 commit 399ce76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@govconnex/ui",
"version": "0.0.193",
"version": "0.0.194",
"description": "GovConnex UI - React Component Library",
"scripts": {
"build:tokens": "./tokens-build.sh",
Expand Down
6 changes: 5 additions & 1 deletion src/components/PopIn/PopIn.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ export const PopInContainer = styled.div<{
`}
visibility: ${({show}) => (show ? "visible" : "hidden")};
opacity: ${({show}) => (show ? 1 : 0)};
pointer-events: ${({show}) => (show ? "auto" : "none")};
pointer-events: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
box-sizing: border-box;
& > * {
pointer-events: ${({show}) => (show ? "auto" : "none")};
}
`;

0 comments on commit 399ce76

Please sign in to comment.