You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both image zoom actions are disabled when either zoom limit is reached.
This causes a bug where you won't be able to zoom out when the image is fully zoomed in, and vise versa. Attempting to press the zoom out button will close the preview instead.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 15, 2023
Describe the bug
Both image zoom actions are disabled when either zoom limit is reached.
This causes a bug where you won't be able to zoom out when the image is fully zoomed in, and vise versa. Attempting to press the zoom out button will close the preview instead.
Reproducer
No response
PrimeReact version
9.4.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
1: Create an image component
2: Preview the image
3: Fully zoom in
4: Attempt to zoom out
Expected behavior
You should be able to zoom out when the image is fully zoomed in.
The text was updated successfully, but these errors were encountered: