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:1 Changed 14 years ago by
comment:2 Changed 12 years ago by
Priority: | critical → major |
---|
comment:3 Changed 11 years ago by
Type: | enhancement → feature |
---|
comment:4 Changed 10 years ago by
Milestone: | 1.next → 1.10.0 |
---|
comment:5 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | Determine how to support z-index and stacking across plugins → Core: Determine how to support z-index and stacking across plugins |
comment:6 Changed 10 years ago by
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
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
Resolution: | → fixed |
---|---|
Status: | open → closed |
Closing fixed as the .ui-front
solution seems to be working well. We can re-open this if it turns out to have problems.
Improvement for z-index datepicker / other absolute positioned objects