Ticket #5553 (new defect)

Opened 6 months ago

Last modified 5 months ago

Plugins don't work inside layout widgets that hide panes via style.display=none (FF)

Reported by: guest Owned by:
Priority: normal Milestone: 1.3
Component: Dijit Version: 1.0
Severity: normal Keywords: TabContainer Firefox CSS style.display
Cc:

Description

Firefox bug # 90268 has been around since July 10, 2001 (https://bugzilla.mozilla.org/show_bug.cgi?id=90268).

Firefox will unload plug-ins if the container's style.display is toggled to 'none'. As a result, this occurs with the Dojo TabContainer? / ContentPane? in Firefox, causing loss of state (and possibly input) if a user is switching between tabs of an application, and a ContentPane? associated with a tab uses a plug-in (such as Flash Player with a Flex component). I believe that the other dijit Containers may exhibit the same problem (such as the AccordionContainer?).

If there is a way to prevent the use of the style.display property it has so far eluded me, an application of this sort would be forced to IE or the use of the TabContainer? events to manipulate <DIVS> outside of the tab container (using visibility / zIndex without the display attribute).

Change History

Changed 6 months ago by bill

  • priority changed from high to normal
  • summary changed from Dojo must provide ability to workaround Firefox CSS style.display bug - plug-ins/containers to Plugins don't work inside layout widgets that hide panes via style.display=none (FF)
  • milestone set to 2.0

Hmm, I suppose that using visibility:hidden with position:absolute is possible although that's a big change and could cause other side effects.

Changed 5 months ago by alex

  • milestone changed from 2.0 to 1.3

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.