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

Boostrap 4.1.2 modal on dispose appending padding-right: 17 px #27067

Closed
jhoanborges opened this issue Aug 14, 2018 · 2 comments
Closed

Boostrap 4.1.2 modal on dispose appending padding-right: 17 px #27067

jhoanborges opened this issue Aug 14, 2018 · 2 comments

Comments

@jhoanborges
Copy link

jhoanborges commented Aug 14, 2018

When i attempt to dispose a modal with a validation included. It appends padding-right 17 to the body with no reason.

screenshot_2

the code:

var estado = $('#state2').find(":selected").val();
 if (jQuery.isEmptyObject({estado})   || (estado == 0) ) {
alert('message?: DOMString')
//event.preventDefault();
$('#estadoModalEdit').modal('dispose')
}

Note: Modal Hide is not working. This validation runs when the modal is attempting to show.

@Johann-S
Copy link
Member

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

@twbs-closer
Copy link

Hey there!

We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

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

5 participants
@XhmikosR @Johann-S @twbs-closer @jhoanborges and others