-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use auto height #73
Comments
Hi, @dbotman ✋
I'm sorry that this library doesn't support the auto height option. 😭 I think you can make it with the |
Hi @dev-yakuza, Thanks for your answer. Correct me if i'm wrong, when you use Image.getSize before loading the Image Modal then you download the picture twice. |
Hi, @dbotman According to the document,
To get the size, the image is downloaded, and if you want to prevent downloading the image multiple, you can preload the image. So, I think you can preload the image by the prefetch() and then, get the size of the image, and display it with the size. Have you ever tried this one? 🤔 |
Hello @dev-yakuza,
Is there an option or what is the best way to use auto height ?
We want to show the image at 100% width with height based on the image.
The text was updated successfully, but these errors were encountered: