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
Create a Nuxt component that uses the v-if directive to conditionally render based on a breakpoint from useDisplay() (vuetify).
Use NuxtPicture to display images from the /public folder within this component.
Deploy the application and test in a production environment.
Observe the behavior when the condition lgAndUp is met and the component becomes visible.
Describe the bug
When the condition for the v-if directive is met and the component becomes visible, all images within the component should load correctly without any dropped candidate errors.
Additional context
The issue occurs only in the production environment.
Images are located in the /public folder.
Environment
package.json:
NuxtImage configuration:
Reproduction
Steps to Reproduce:
Create a Nuxt component that uses the
v-if
directive to conditionally render based on a breakpoint fromuseDisplay()
(vuetify).Use
NuxtPicture
to display images from the/public
folder within this component.Deploy the application and test in a production environment.
Observe the behavior when the condition
lgAndUp
is met and the component becomes visible.Describe the bug
When the condition for the
![image](https://private-user-images.githubusercontent.com/50543487/332395529-8c62fa60-578b-45fe-91e5-49ccfb3ca30b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MzEwMzUsIm5iZiI6MTcxODczMDczNSwicGF0aCI6Ii81MDU0MzQ4Ny8zMzIzOTU1MjktOGM2MmZhNjAtNTc4Yi00NWZlLTkxZTUtNDljY2ZiM2NhMzBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE3MTIxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFmMGZjMmRjN2RhMDJlOTgyYjc3MGNjY2U0YTAwNzJmZDE5ZGIzMjQ3ZjU1YTAxYTcyZGFlNzY4ODljNzNiZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tGOfmYzkNNbDWvJVNRFpdR-X20YyXCJ7j6bgS7L_UJc)
![image](https://private-user-images.githubusercontent.com/50543487/332395908-a9a15e2e-f56d-4eec-93a7-87a785468365.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MzEwMzUsIm5iZiI6MTcxODczMDczNSwicGF0aCI6Ii81MDU0MzQ4Ny8zMzIzOTU5MDgtYTlhMTVlMmUtZjU2ZC00ZWVjLTkzYTctODdhNzg1NDY4MzY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE3MTIxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU3OTgxMDk0YTIyM2E2OTUxYTMwNGE1NTI2ZGIxYTMwMjliNzY5NmI2ZDZiNjQ4NGFhMDk2MGIyY2JmYjU4NjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.b6A__LMRokSUaTUaek37mJj8H8uMP_4LHwHrgFqyG5c)
v-if
directive is met and the component becomes visible, all images within the component should load correctly without any dropped candidate errors.Additional context
The issue occurs only in the production environment.
Images are located in the /public folder.
Logs
The text was updated successfully, but these errors were encountered: