Skip to main content

Search and Top Navigation

#9977 closed bug (wontfix)

Opened April 13, 2014 09:12AM UTC

Closed April 13, 2014 07:40PM UTC

Last modified September 10, 2014 01:45PM UTC

Problem with modal dialog opened when focusing on text input

Reported by: michelgeny Owned by: michelgeny
Priority: minor Milestone: none
Component: ui.dialog Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

I use a form with a read-only text input. The script calls the dialog open method to display a UI modal dialog when the user clicks in the input text field. The dialog opens normally, but on close the dialog disappears, and not the overlay. For now the only solution consists to create the dialog when the focus event occurs and invoke the "destroy" method for closure.

Tested on Mac OS 10.9.2 with FF 28.0, Safari 7.0.3, Chrome 34.0.1847.116

See demo:,output

Attachments (0)
Change History (4)

Changed April 13, 2014 05:40PM UTC by scottgonzalez comment:1

owner: → michelgeny
status: newpending

You're essentially caught in a loop. When a dialog closes, it puts focus back where it was before the dialog opened. Showing a dialog when an element gains focus isn't really good UX. What are you trying to accomplish?

Changed April 13, 2014 07:16PM UTC by michelgeny comment:2

status: pendingnew

Thanks for your answer. My goal was to bring up a list of enumerated values ​​loaded dynamically to allow a user choice. The same dialog should allow, if necessary, modify or add one or more values ​​in the enumeration. I think I'll just put a button for opening the dialogue and forget the triggering focus.

Changed April 13, 2014 07:40PM UTC by scottgonzalez comment:3

resolution: → wontfix
status: newclosed

That would be a lot less jarring for the user.

Changed September 10, 2014 01:45PM UTC by scottgonzalez comment:4

#10593 is a duplicate of this ticket.