Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer a z-index appending function for plugin use #47

Closed
meowsus opened this issue Sep 10, 2019 · 1 comment
Closed

Offer a z-index appending function for plugin use #47

meowsus opened this issue Sep 10, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@meowsus
Copy link
Contributor

meowsus commented Sep 10, 2019

Is your feature request related to a problem? Please describe.
Plugins that add UIs which are intended to display over other UIs (such as Search Autocomplete, modals, etc) have a hard time hooking into the base z-index system.

Describe the solution you'd like
Without spending a ton of time thinking up solutions, perhaps providing a function, much like this one, would be helpful. Ideally plugins would be able to append their z-index name and have it affect the whole app.

This way a plugin could append its name to the beginning, middle, or end of the sass list and base/all other plugins would be affected accordingly.

Describe alternatives you've considered
The search-autocomplete component inside the workarea-search-autocomplete plugin contains code that cracks into the $page-container z-index list to append itself to the end of the list. This works because it's reactionary, but it would be nice to have a solution baked into base to avoid this boilerplate code in the future.

@meowsus meowsus added the enhancement New feature or request label Sep 10, 2019
@meowsus meowsus self-assigned this Sep 10, 2019
@meowsus meowsus added this to the v3.5.0 milestone Sep 20, 2019
@meowsus
Copy link
Contributor Author

meowsus commented Oct 7, 2019

This isn't a real issue facing any known build, yet.

@meowsus meowsus closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant