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(content): check for this._scroll #10216

Merged
merged 3 commits into from
Jan 30, 2017
Merged

fix(content): check for this._scroll #10216

merged 3 commits into from
Jan 30, 2017

Conversation

jgw96
Copy link
Contributor

@jgw96 jgw96 commented Jan 27, 2017

Short description of what this resolves:

This checks for a use case where this._scroll may be undefined in certain cases. If it is undefined we simply return and if it is not undefined then we set scrollEvent and continue on.

Also, scrollEvent is now a let instead of a const as consts have to be initialized upon declaration as per the ES2015 spec.

Changes proposed in this pull request:

  • check for this._scroll

Ionic Version: 2.x

Fixes: #10186

@jgw96 jgw96 requested a review from brandyscarney January 27, 2017 22:45
@jgw96 jgw96 added this to the 2.0.1 milestone Jan 27, 2017
@brandyscarney brandyscarney merged commit 96f550c into master Jan 30, 2017
@adamdbradley adamdbradley deleted the scrollEV branch February 6, 2017 16:32
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