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: |
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.
Attachments (0)
Change History (7)
Changed February 24, 2012 06:45PM UTC by comment:1
component: | ui.core → ui.dialog |
---|---|
owner: | → mr2001 |
status: | new → pending |
Changed February 24, 2012 08:16PM UTC by comment:2
status: | pending → new |
---|
I sent the VS 2010 test project as an attachment to trac@bugs.jqueryui.com
Changed February 24, 2012 08:17PM UTC by comment:3
status: | new → pending |
---|
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 comment:4
status: | pending → new |
---|
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)
Regards,
M.R.
Changed March 02, 2012 10:54AM UTC by comment:5
resolution: | → cantfix |
---|---|
status: | new → closed |
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 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.
Regards,
M.R.
Changed March 02, 2012 02:54PM UTC by 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.
This is not enough information. Please provide a reduced test case showing the problem.