Merge pull request #4976 from qburst/4968--fix-disabled-zoom-issue

fix: fix image preview close on disabled zoom button click
This commit is contained in:
Tuğçe Küçükoğlu 2023-12-20 14:45:45 +03:00 committed by GitHub
commit 6d40283801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;