metafizzy / metafizzy/infinite-scroll

History event not working in IE 11

Open
#890 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
7.5k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm using this lib on a catalog of products, everything is working good except in IE11 :(.
The content is fully loaded but it doens't push the history.
And I use the "**history**" event in order to update a pagination but this event is never triggered in IE 11.

`scrollInfinite.on('history', (title, path) => {
onPageHistoryChange(path, pages, pageCount, scrollInfinite.loadCount);
});`

onPageHistoryChange is the function that handle de pagination change.

I've tried the demo site and it's not working in IE11 too.
Does anyone know what to do to make it works with IE11 :) ?

Thank you !

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the history-event failure on the demo site in IE11 and inspect the code path that pushes history and emits the history event. Done means pagination-related history updates work in IE11 and the history callback is triggered as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.