Skip to content

Add option to set the default or starting z-index for components #2402

@xvaara

Description

@xvaara

Clear and concise description of the problem

Some 3rd party components have been known to interfere with bootstrap default z-indexes. So we might want to add an option to add a starting point for example BModal.

Suggested solution

option to createBootstrap, or add a css var that can be added to our calculations with
z-index: calc(${ourZindex} + var(--bv-zindex-hoist, 0))

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions