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: IE11 crash by avoiding argument-less calls to classList.add #2244

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

metrophos
Copy link
Contributor

@metrophos metrophos commented Mar 31, 2020

Please provide a link to the associated issue.

#2252

And it's the same issue and the same solution as in mapbox/mapbox-gl-draw#479

Please provide a brief summary of this pull request.

On click of Buttons of Components like Datepicker, Combobox, and so on this issue is triggered because IE11 cannot handle empty Arrays on a spread operator e.g. ...this.additionalClasses. Second thing is that the Array should be queried by .length > 0 otherwise the statement will be always true.

Please check whether the PR fulfills the following requirements

Documentation checklist:

@CLAassistant
Copy link

CLAassistant commented Mar 31, 2020

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Mar 31, 2020

Deploy preview for fundamental-ngx ready!

Built with commit b60c266

https://deploy-preview-2244--fundamental-ngx.netlify.com

@JKMarkowski JKMarkowski merged commit d356914 into SAP:master Apr 7, 2020
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.

None yet

5 participants