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

[modal] body padding not reset after modal closed #3490

Closed
mahpah opened this issue Jan 18, 2018 · 0 comments
Closed

[modal] body padding not reset after modal closed #3490

mahpah opened this issue Jan 18, 2018 · 0 comments

Comments

@mahpah
Copy link
Contributor

mahpah commented Jan 18, 2018

I notice that at this line

document.body.style.paddingRight = this.originalBodyPadding;

document.body.style.paddingRight should accept a string but originalBodyPadding is number, so paddingRight will keep its value as is. And the padding continue to expand each time I open a modal.

In my case, this is so weird that this issue was not happen util today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants