Taha Rehman Siddiqui
Taha Rehman Siddiqui

Reputation: 2533

Jquery UI Modal Dialog doesnt let scroll

I have a tall form in my dialog, and it has to be modal. Now when I try to scroll down, it doesnt let me. Have a look

http://jsfiddle.net/JQWf4/61/

Irrelevant Code Below(stackoverflow asks for code before submission)

$('#dialog').dialog({
modal: true,
});

Is this the way it is supposed to be? I mean, are the modal forms supposed to be visible with in a page or can this be fixed?

Upvotes: 0

Views: 1241

Answers (1)

Reigel Gallarde
Reigel Gallarde

Reputation: 65254

modals should be like that... at least that's common... what I can suggest is you put a scroll on your modal content...

give it a height... like this

$('#dialog').dialog({
    modal: true,
    height: 300
});

demo

Upvotes: 1

Related Questions