jQuery UI modal dialog captures all keypress so I can't input text inside it

前端 未结 4 718
余生分开走
余生分开走 2021-02-12 14:16

I create modal dialog with form inside it (with some text input). And I just can\'t enter the text inside the textbox. Dialog blocks keyboard input.

Here is my simplifie

4条回答
  •  灰色年华
    2021-02-12 14:50

    I found that the

    tag in my dialog was getting a z-index of 1, preventing any of the controls from working. Instead of changing the z-index for each control, simply changing the z-index of the tag to 1010 (a value higher than the default of the dialog) worked for me.

提交回复
热议问题