Skip to main content

Search and Top Navigation

#8136 closed bug (cantfix)

Opened February 24, 2012 04:59PM UTC

Closed March 02, 2012 10:54AM UTC

Last modified March 02, 2012 02:54PM UTC

modal dialog becomes non-modal in some scenarios

Reported by: mr2001 Owned by: mr2001
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:

I have a web page with a Microsoft chart control that displays a bar-chart. Every time the user clicks on a different bar, the related information is displayed in a jQuery dialog.

The way I implemented this is to add the following string to MapAreaAttributes foe each bar:

"onclick=""$('#dialog').html('" & "Users: <b>" & myReader.Item("DB_USER_COUNT") & "</b>').dialog();$('#dialog').dialog( 'open' );"""

It works perfectly.

However... As I set the dialog modal property to 'true', I was expecting to be unable to perform any click on the chart once the modal dialog is displayed. This is not the case. I am able to click on different bars on the chart and the dialog stays on the screen but the content changes accordingly.

This is not the correct functionality.

Attachments (0)
Change History (7)

Changed February 24, 2012 06:45PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
owner: → mr2001
status: newpending

This is not enough information. Please provide a reduced test case showing the problem.

Changed February 24, 2012 08:16PM UTC by mr2001 comment:2

status: pendingnew

I sent the VS 2010 test project as an attachment to

Changed February 24, 2012 08:17PM UTC by scottgonzalez comment:3

status: newpending

That's not going to do anything. Either provide a reduced hosted solution showing the problem, or we can't help you.

Changed February 28, 2012 04:45PM UTC by mr2001 comment:4

status: pendingnew

Please check the site I just created in order to show the bug:

It works correctly in Google Chrome (latest version) but not in Internet Explorer. Please click on the chart bars without attempting to close the modal window and yo will see that the information in the window just changes...

In Chrome, clicking on the bars while the modal windows displays on screen does not have any effect (correct behavior)



Changed March 02, 2012 10:54AM UTC by scottgonzalez comment:5

resolution: → cantfix
status: newclosed

The problem is that IE ignores z-index for image maps. This might get addressed with a change to the modal behavior, but we won't be able to do anything about the cursor changing based on x/y coords within the page.

Changed March 02, 2012 02:52PM UTC by mr2001 comment:6

Thank you for clarifying this issue Scott.

If the modal dialog does not work correctly with charts, then this is a serious limitation.... maybe you'll consider fixing it in the future.



Changed March 02, 2012 02:54PM UTC by scottgonzalez comment:7

It's not charts. It's image maps. This isn't something that we're just not considering. It's how IE has implemented image maps; they are purely based on x/y coordinates.