Export to GitHub

nyromodal - issue #341

Problem with resizable parameter.


Posted on Sep 28, 2009 by Happy Panda

What steps will reproduce the problem? 1. set resizable: false 2. set minHeight 3. the window ignores resizable: false and minHeight

What is the expected output? What do you see instead?

The expected output is the window respect the minHeight

Please use labels and text to provide additional information.

Debugging the code, I found it:

In function setDefaultCurrentSettings have a "reset" in resizable parameter. To test i comment the line currentSettings.resizable = true; and the script works.

Comment #1

Posted on Oct 3, 2009 by Swift Panda

This code was here to overwrite odd settings set during the animations and during the show of the modal in case of reopening a new modal from the modal content.

To solve it, I'll simply save the settings used to open the modal in a new private vars and use it for new opening call.

Thankfs for your bug report and your investigation!

Comment #2

Posted on Nov 8, 2009 by Swift Panda

the version 1.5.4 is now released and fix this bug.

Status: Fixed