Search and Top Navigation
#7763 closed bug (wontfix)
Opened October 04, 2011 05:29PM UTC
Closed July 20, 2012 11:17PM UTC
zIndex > 999999 and modal = true "disables" checkboxes in FF
Reported by: | sebeers | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.16 |
Keywords: | modal | Cc: | |
Blocked by: | Blocking: |
Description
In FireFox only, combining modal = true with zIndex > 999999 virtually disables checkboxes appearing inside the dialog - i.e. they always return to their prior state when clicked.
Demo: http://jsfiddle.net/FFtVC/ (Note difference in change handler execution)
Occurs under Windows XP, Windows Vista, Windows 7 with FF versions 6.0.2 and 5.0.1
Attachments (0)
Change History (5)
Changed October 04, 2011 05:37PM UTC by comment:1
keywords: | → modal |
---|
Changed July 20, 2012 06:53AM UTC by comment:2
Opera 12.00 and IE 8 works well (IE fires change event first, then click, but this doesn't matter), so it must be FF related problem. I also noticed that this bug doesn't affect only checkboxes, but normal inputs too. I think it will be problem with all type of inputs and maybe other tags. Forked demo with input here: http://jsfiddle.net/AEYHV/1/
Changed July 20, 2012 01:52PM UTC by comment:3
this ticket is related to #7107 or even duplicates it
Changed July 20, 2012 11:15PM UTC by comment:4
This is not jQuery UI bug, it's not even jQuery bug. Native Firefox getComputedStyle() function (which jQuery uses to get css values when possible) returns bad values. Big numbers like > 1000000 will be affected with bad calculated value (this ticket) and even greater numbers like 2147483583 will be returned in bad notation (ticket #7107). If we read zIndex from native style object of element we will get good values. This is possible fix for jQuery. I will try to commit it in jQuery repo.
Changed July 20, 2012 11:17PM UTC by comment:5
resolution: | → wontfix |
---|---|
status: | new → closed |
What maciejmrozinski said. Also that value is insanely high, you should use sane values for z-index.