Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/live tracker ie slowdown #5896

Merged
merged 2 commits into from
Mar 28, 2019
Merged

Fix/live tracker ie slowdown #5896

merged 2 commits into from
Mar 28, 2019

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Mar 26, 2019

Description

We recently had a fix for setInterval performance in IE 11 but did not realize that LiveTracker has a similar setInterval. I added a helper to component that should be used for intervals like this in the future. Originally it seemed like setInterval alone was the culprit, but after testing it seems that things in startTracking can cause the crash so we have to start and stop when the documents visibility changes.

src/js/component.js Outdated Show resolved Hide resolved
src/js/live-tracker.js Outdated Show resolved Hide resolved
@brandonocasey brandonocasey force-pushed the fix/live-tracker-ie-slowdown branch 5 times, most recently from fec8ab8 to 156e60e Compare March 28, 2019 18:52
@brandonocasey brandonocasey force-pushed the fix/live-tracker-ie-slowdown branch from 156e60e to f3af9bd Compare March 28, 2019 18:53
src/js/live-tracker.js Outdated Show resolved Hide resolved
src/js/live-tracker.js Show resolved Hide resolved
@gkatsev gkatsev merged commit 511f729 into master Mar 28, 2019
@gkatsev gkatsev deleted the fix/live-tracker-ie-slowdown branch July 31, 2019 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants