Component Hierarchy
Since there are many pop-up window components, in some scenarios, multiple pop-up windows will be used to combine them. This chapter describes how to manage components in layers. Below is Bootstrap
provided built-in z-index
value:
$zindex-dropdown: 1000;
$zindex-sticky: 1020;
$zindex-fixed: 1030;
$zindex-offcanvas-backdrop: 1040;
$zindex-offcanvas: 1045;
$zindex-modal-backdrop: 1050;
$zindex-modal: 1055;
$zindex-popover: 1070;
$zindex-swal: 1075;
$zindex-tooltip: 1080;
This set of components additionally Message
Dialog
Swal
Toast
The components are layered as follows:
Drawer: 1050;
Dialog: 1050;
Swal: 1075;
Message: 1090;
Toast: 1090;
test session
because Drawer
The component does not provide a service form, and it is retrofitted later