jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Smooth behavior not working anymore

Open NicolasR opened this issue 2 years ago • 0 comments

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.

NicolasR avatar May 25 '23 11:05 NicolasR