Skip to main content

Search and Top Navigation

#6098 closed bug (notabug)

Opened September 23, 2010 10:04AM UTC

Closed September 23, 2010 12:20PM UTC

Last modified December 05, 2011 02:19AM UTC

Opening dialog causing input to lost focus

Reported by: lampacz Owned by:
Priority: major Milestone: 1.9.0
Component: ui.dialog Version: 1.8.5
Keywords: focus Cc:
Blocked by: Blocking:
Description

Having form with focused text element and calling .dialog() to display message about loading autocomplete cause input to lost focus (same result with modal true or false)

				$oDiv.dialog({
					title: oM.title,
					height: 70,
					modal: oM.modal,
					resizable: false,
					close: function(event, ui) {
						if ($ajax)
							$ajax.abort();
					}
				});

Attachments (0)
Change History (3)

Changed September 23, 2010 12:20PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

Dialogs have to gain focus for accessibility. The user's focus (both in the DOM and in their mind) is now on the dialog.

Changed September 29, 2010 08:29AM UTC by lampacz comment:2

i don't need accessibility i need only display information message (no modal in mostly cases)

maybee some option which will cause not losing focus ?

or using something else for displaying information message

Changed December 05, 2011 02:19AM UTC by scottgonzalez comment:3

#7934 is a duplicate of this ticket.