Fix to support resizing of the viewport width and IO at the same time

Created on 6 June 2024, 19 days ago
Updated 12 June 2024, 14 days ago

Problem/Motivation

No support for resizing of the screen after
📌 Implement Intersection Observer API for More Efficient Lazy Loading Fixed

Steps to reproduce

Scenario: The Tablet/IPad or mobile case

Given that a page is loaded with images in a tablet/mobile with "portrait" viewport
When the tablet changes to "landing" viewport
Then images are not updated with a better size to match the current viewport width

Scenario: Browser size, or view port size case

Given that a page was loaded in a browser
When resizing the browser
Then Images are not updated to match with the new size

Proposed resolution

Support resizing of the viewport width and IO at the same time.

Have the addEventListener('resize' back with timer, or any workaround integration with the IO
Important to note to run the generate of image styles for all already in view port, or after an AJAX of Load more content with data.
But they are already in the view port

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024