-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for incrementally loading pages that have placeholders (#530)
- use a mutation observer to check for page elements that are placeholders (e.g. elements with the aria-busy="true" acccessibility attribute). - use an intersection observer to ensure we only consider placeholder elements that are visible in the viewport. Many websites would have placeholders for product lists or search results until the user scrolls the page section into view.
- Loading branch information
1 parent
7791b87
commit ee45ff1
Showing
5 changed files
with
321 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.