Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8136 closed bug (cantfix)

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:

Description

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.

Change History (7)

comment:1 Changed 8 years ago by Scott González

Component: ui.coreui.dialog
Owner: set to mr2001
Status: newpending

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

comment:2 Changed 8 years ago by mr2001

Status: pendingnew

I sent the VS 2010 test project as an attachment to trac@…

comment:3 Changed 8 years ago by Scott González

Status: newpending

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

comment:4 in reply to:  3 Changed 8 years ago by mr2001

Status: pendingnew

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

http://aspspider.ws/mr2001/

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)

Regards, M.R.

comment:5 Changed 8 years ago by Scott González

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.

comment:6 in reply to:  5 Changed 8 years ago by mr2001

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.

Regards, M.R.

comment:7 Changed 8 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.