Bug Tracker

Modify

Ticket #501 (closed bug: wontfix)

Opened 7 years ago

Last modified 5 years ago

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:1 Changed 7 years ago by anonymous

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) {

...

Build our base attributes and allow them to be overriden css = jQuery.extend({

position: 'fixed', <<<<< CHANGE <<<<<< left: '0px', margin: '0px', background: '#000', opacity: '.55'

}, css);

...

}

comment:2 Changed 6 years ago by john

  • Component changed from core to plugin

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.

comment:4 Changed 5 years ago by scott.gonzal

  • need set to Review
  • Status changed from new to closed
  • Resolution set to wontfix
  • Description modified (diff)

This plugin is no longer supported as reported by its creator.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.