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
Is your feature request related to a problem? Please describe.
Currently, the image resource is loaded again for the preview even if no preview is configured.
Describe the solution you'd like
If the preview configuration is falsy, it should early-exit and not load the image.
Describe alternatives you've considered
Not sure if there are any workarounds - it seems like the code-path is unavoidable at the moment.
Additional context
The images we work with are rather big and we do not always need a preview. For these cases it would be nice to save the call.
I can provide a PR if the change is welcomed 😄
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the image resource is loaded again for the preview even if no preview is configured.
Describe the solution you'd like
If the preview configuration is falsy, it should early-exit and not load the image.
Describe alternatives you've considered
Not sure if there are any workarounds - it seems like the code-path is unavoidable at the moment.
Additional context
The images we work with are rather big and we do not always need a preview. For these cases it would be nice to save the call.
I can provide a PR if the change is welcomed 😄
The text was updated successfully, but these errors were encountered: