Skip to main content

Search and Top Navigation

#3149 closed bug (duplicate)

Opened July 30, 2008 08:05PM UTC

Closed August 11, 2008 08:38PM UTC

modal setting on dialog causes slow input on large pages

Reported by: fontzter Owned by: scottgonzalez
Priority: major Milestone:
Component: ui.dialog Version: 1.5.2
Keywords: modal input slow Cc:
Blocked by: Blocking:
Description

To demonstrate I have pasted

code here: http://pastecode.com/?show=m77813fa1

If you run this code, you will see that the modal flag make typing in

a textarea (inside a dialog) very slow when modal is true.

Richard's analysis:

I see what the problem is. The modal plugin is binding key and mouse events

to all links and inputs, to cancel them (to enforce the modal). It seems

it's doing this even for the inputs in the dialog (as your test case

demonstrates). I'm not 100% sure, but I think we could safely filter those

out.

Attachments (0)
Change History (2)

Changed August 11, 2008 08:38PM UTC by scottgonzalez comment:1

Changed August 11, 2008 08:38PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Duplicate of #2807.