Fixing Zoom Styling Issues with Next/Image Component #656
Unanswered
Anshtripathi079
asked this question in
Q&A
Replies: 1 comment
-
This is the same root issue as #363, where custom transforms and positioning (when zooming) on the image, itself, are not forwarded because transform and position are used to do the zooming. I'll try to think of how to take this into account—even with just partial support—but no guarantees. The positioning and transforming is the core of how this works, and it's a little complicated. |
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
-
Hi,
I’m using the
Next/Image
component to render images and applying a zoom functionality to these images. Currently, the zoom effect is not working as expected. Instead of zooming in to a larger size, the image appears to be shrinking. I have some styling issues where the zoomed image seems to be resized incorrectly.Here’s a visual representation of the problem:
Current Behavior:
The zoomed image is smaller than expected:
Desired Outcome:
I want to apply these fixed styles to all zoomed images, such as:
Expected Output:
Here's how the current code looks:
Beta Was this translation helpful? Give feedback.
All reactions