Skip to content

Commit

Permalink
Merge pull request #3615 from omnivore-app/fix/web-pointer-events
Browse files Browse the repository at this point in the history
Allow overflow on grid cards, clear pointer events from dropdowns after triggered
  • Loading branch information
jacksonh authored Mar 4, 2024
2 parents 53816db + f1474a0 commit f541d4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
marginBottom: '0px',
paddingTop: '0',
paddingBottom: '0px',
overflow: 'hidden',
overflow: 'visible',
'@media (max-width: 930px)': {
gridGap: props.layout == 'LIST_LAYOUT' ? '0px' : '20px',
},
Expand Down Expand Up @@ -1345,6 +1345,7 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element {
} else {
props.actionHandler(action, linkedItem)
}
document.body.style.removeProperty('pointer-events')
}}
/>
)}
Expand Down
1 change: 0 additions & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"pspdfkit": "^2023.4.6",
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-colorful": "^5.5.1",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-hot-toast": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25914,7 +25914,7 @@ react-color@^2.19.3:
reactcss "^1.2.0"
tinycolor2 "^1.4.1"

react-colorful@^5.1.2, react-colorful@^5.5.1:
react-colorful@^5.1.2:
version "5.5.1"
resolved "https://registry.yarnpkg.com/react-colorful/-/react-colorful-5.5.1.tgz#29d9c4e496f2ca784dd2bb5053a3a4340cfaf784"
integrity sha512-M1TJH2X3RXEt12sWkpa6hLc/bbYS0H6F4rIqjQZ+RxNBstpY67d9TrFXtqdZwhpmBXcCwEi7stKqFue3ZRkiOg==
Expand Down

0 comments on commit f541d4e

Please sign in to comment.