Skip to content

Commit

Permalink
Merge pull request #22 from navedqb/4968--fix-disabled-zoom-issue
Browse files Browse the repository at this point in the history
fix: fix image preview close on disabled zoom button click
  • Loading branch information
navedqb authored Dec 18, 2023
2 parents f6c5cda + 07e7fcf commit 0c37fe4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/lib/image/style/ImageStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const css = `
justify-content: center;
align-items: center;
}
.p-image-action.p-disabled {
pointer-events: auto;
}
.p-image-preview {
transition: transform 0.15s;
Expand Down

0 comments on commit 0c37fe4

Please sign in to comment.