开发者

Jquery UI dialog background not growing when form loaded with ajax

开发者 https://www.devze.com 2023-01-18 07:03 出处:网络
When I load a form into a Jquery UI dialog, if the form is longer than the existing page, the background does not continue down the full length of the page.

When I load a form into a Jquery UI dialog, if the form is longer than the existing page, the background does not continue down the full length of the page.

If I use the resizer to shrink the dialog and then stretch it back again then the background stretches with it.

Just wondering if there is some kind of function I can call to refresh the background size after I've done the Ajax load?

UPDATE: I think开发者_StackOverflow I've found the answer, by changing .ui-widget-overlay to position:fixed it seems to solve the problem, just wondering if it will have any dodgy side-effects?

0

精彩评论

暂无评论...
验证码 换一张
取 消