Opened 14 years ago

Closed 10 years ago

#4203 closed feature (fixed)

Core: Determine how to support z-index and stacking across plugins

Reported by: Scott González Owned by:
Priority: major Milestone: 1.10.0
Component: [meta] ui.dev Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

There should be a consistent way to handle z-index and stacking across plugins. It may be the case that there should never be a z-index option, but a stacking option should be available. Stacking should probably work cross-plugin, e.g., draggables and dialogs should be able to stack together.

Change History (8)

comment:2 Changed 12 years ago by Scott González

Priority: criticalmajor

comment:3 Changed 11 years ago by Scott González

Type: enhancementfeature

comment:4 Changed 10 years ago by Scott González

Milestone: 1.next1.10.0

comment:5 Changed 10 years ago by petersendidit

Status: newopen
Summary: Determine how to support z-index and stacking across pluginsCore: Determine how to support z-index and stacking across plugins

comment:6 Changed 10 years ago by Jörn Zaefferer

The ".ui-front" approach as implemented by dialog now is the way to go here. Need a list of which other widgets need to be adapted.

comment:7 Changed 10 years ago by Jörn Zaefferer

We now have a reference implementation in autocmplete: https://github.com/jquery/jquery-ui/blob/37fda49e3ca65a1fa5f1c6f6a531ec5896c053b1/ui/jquery.ui.autocomplete.js#L324

Selectmenu will use the same approach. Datepicker and interactions likely will have to use this approach, but those are getting rewritten anyway.

Tooltip just appends to body without an appendTo option, not sure if that needs to change.

comment:8 Changed 10 years ago by Scott González

Resolution: fixed
Status: openclosed

Closing fixed as the .ui-front solution seems to be working well. We can re-open this if it turns out to have problems.

Note: See TracTickets for help on using tickets.