Ticket #501 (closed bug: wontfix)
modalContent plugin is not modal
| Reported by: | tjsaker@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | plugin | Version: | |
| Keywords: | modalContent plugin | Cc: | |
| Blocking: | Blocked by: |
Description (last modified by scott.gonzal) (diff)
I've demonstrated this in IE 7 and FF 1.5. There are 2 issues that violate modality:
1) The page elements are still keyboard traversable. This is a big problem because users can invoke any of the controls that accept keyboard events by tabbing to them to obtain input focus.
2) If you are on a page that is taller than the viewport (requires vertical scrolling), the modal overlay does not extend to the bottom of the page - it only covers what's currently visible so that when you sroll down the rest of the page is uncovered and available for mouse events.
Change History
comment:3 Changed 6 years ago by gavinmroy
If this is in regard to my modalContent plugin, this ticket should be closed. I stopped developing this plugin in January of 2007 with the following message "Please note that jquery-modalContent has not been updated to work with jQuery 1.1. If you'd like a light weight modal plugin, try jqModal or blockUI."
AFAIK there are no other plugins that used the same name.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Well, I fixed the second issue (the easy one) with a simple stylesheet change to the backdrop rendering function. Specifically, in jQuery.fn.modalContent(), change "postition: 'absolute';" to "position: 'fixed';":
jQuery.fn.modalContent = function(css, animation, speed) {
...
...
}