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

Smooth behavior not working anymore #572

Open
NicolasR opened this issue May 25, 2023 · 0 comments
Open

Smooth behavior not working anymore #572

NicolasR opened this issue May 25, 2023 · 0 comments

Comments

@NicolasR
Copy link

jquery-confirm version:
v3.3.4

I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request

Current behavior:
If you change modal height, smooth behavior is not working since PR 404

Expected behavior:
Smooth behavior working

Steps to reproduce:

Related code:

// Commented out to prevent scroll to top when updating the content
                        // (for example when using ajax in forms in content)
                        // that.$contentPane.css({
                        //     'height': contentHeight
                        // }).scrollTop(0);

Bug is here. You shouldn't comment the whole line. Only remove scrollTop and keep smooth resize.

Other information:
I will submit a PR for this.

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

No branches or pull requests

1 participant