Zoom ref's maxZoom value is 1 even if we set the maxZoomPixelRatio value as 4 #254
Replies: 2 comments 4 replies
-
Can you post a direct link, please? The shortened link you provided above does not work. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Thank you so much for resolving the issue for me again, I got the Controls at the bottom with proper zoom functionality without setting default height and width. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @igordanchenko ,
I'm attempting to display a custom Zoom control on top of the lightbox but encountering an issue with enabling the zoom controls based on the Zoom level. During debugging, I discovered that the zoomRef value being passed to the custom control has a maxZoom value of 1 instead of the configured maxZoomPixelRatio value.
I've created a small app to replicate this issue. Could you please review it and provide insights on how to resolve this problem?
Beta Was this translation helpful? Give feedback.
All reactions