Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Address Chrome lag issues #2129

Merged
merged 1 commit into from
Nov 8, 2016
Merged

Address Chrome lag issues #2129

merged 1 commit into from
Nov 8, 2016

Conversation

gemfarmer
Copy link
Contributor

Fixes issue(s) #2111

CircleCI

😎 PREVIEW

This PR addresses the lag issues that we were seeing on Chrome browsers. If you look in the console, you should no longer see a warning message telling us that the main thread was delayed and encouraging us to use passive event listeners on the wheel and scroll events.

As an extension of this, I submitted a PR to the main stickyfill repo. Usage of the stickyfill npm module will be doubly delayed as we need webmodules/stickyfill, a repo that has been modified to support the module require method, to add any updates to wilddeer/stickyfill to the npm module stickyfill

Changes proposed in this pull request:

  • Updated 18F/stickyfill module to support { passive: true } on event listeners.
  • Updated 18F/stickyfill to support npm module require references.
  • Require new module in EITI set of node modules

/cc @meiqimichelle

@gemfarmer gemfarmer added this to the Sprint-AutumnalAspen milestone Nov 8, 2016
@gemfarmer gemfarmer mentioned this pull request Nov 8, 2016
@meiqimichelle meiqimichelle merged commit 1ae5328 into dev Nov 8, 2016
@meiqimichelle meiqimichelle deleted the lag-issues branch November 8, 2016 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants