-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
I'm using the vercel provider right now and i've come across what i think is a major bug in the provider.
The problem arises when using the screens option for NuxtImg. Lets take this screens value for example: 95px tablet:160px desktop:95px. I would imagine that the image would have a size of 95px on mobile and desktop and 160px for tablets. The image.screens configuration could look like this:
{
tablet: 768,
desktop: 1280
}The actual behaviour is that the image is resized to the nearest screen breakpoint! This seems illogical to me. The size should be the actual size provided for the screen, not the breakpoint width. Did i misunderstand the screens attribute or is this a limitation of vercel?
Ashrakk
Metadata
Metadata
Assignees
Labels
No labels