My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 294: nyromodal does not resize when content changes
3 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Aug 2009


 
Reported by jason.s.holmes, Jul 28, 2009
What steps will reproduce the problem?
1. open a nyromodal
2. unhide a div that was hidden in the content
3. the modal now has scrollbars even though it could fit in the viewport

What is the expected output? What do you see instead?
the modal should become bigger to accommodate the new size of the content.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Aug 11, 2009
Project Member #1 nyro...@gmail.com
I don't want to add some tricky feature like that in nyroModal as it will grow up the
size for a very few usages and add bugs somewhere.

Instead, you could do it by yourself by calling the nyroModalSettings function once
you added an element in the modal as follow:

$.nyroModalSettings({height: null});

Status: WontFix
Mar 10, 2010
#2 miketemp...@gmail.com
I have the same problem. A modal with a hidden div. When a checkbox is clicked inside
the modal I want to show the div, and have the modal grow in height to accommodate. I
tried the height:null trick you mention, and the modal did grow in height; however,
the modal also grew in width and moved to the left a little. Each time i show/hide
the div the modal grows in width (about 20px) and moves father to the left (about
8px), eventually it's off the screen on the left.

Powered by Google Project Hosting