mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
fix(item-divider): fabs have higher z-index than item-dividers
fixes #8489
This commit is contained in:
@ -76,7 +76,7 @@ ion-item-group {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ion-item-divider {
|
ion-item-divider {
|
||||||
z-index: 1000;
|
z-index: $z-index-item-divider;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@ -5,6 +5,16 @@
|
|||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<ion-content class="outer-content">
|
<ion-content class="outer-content">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ion-fab top right>
|
||||||
|
<button ion-fab><ion-icon name="add"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
</div>
|
||||||
|
<ion-fab bottom right>
|
||||||
|
<button ion-fab><ion-icon name="close"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<!--<ion-list-header>
|
<!--<ion-list-header>
|
||||||
ion-list-header
|
ion-list-header
|
||||||
|
@ -9,6 +9,15 @@
|
|||||||
|
|
||||||
<ion-content class="outer-content">
|
<ion-content class="outer-content">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ion-fab top right>
|
||||||
|
<button ion-fab><ion-icon name="add"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
</div>
|
||||||
|
<ion-fab bottom right>
|
||||||
|
<button ion-fab><ion-icon name="close"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
|
|
||||||
<ion-list-header>
|
<ion-list-header>
|
||||||
|
@ -9,6 +9,15 @@
|
|||||||
|
|
||||||
<ion-content class="outer-content">
|
<ion-content class="outer-content">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ion-fab top right>
|
||||||
|
<button ion-fab><ion-icon name="add"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
</div>
|
||||||
|
<ion-fab bottom right>
|
||||||
|
<button ion-fab><ion-icon name="close"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
|
||||||
<ion-list inset>
|
<ion-list inset>
|
||||||
|
|
||||||
<ion-list-header>
|
<ion-list-header>
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
<ion-content>
|
<ion-content>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<ion-fab top right>
|
||||||
|
<button ion-fab><ion-icon name="add"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
</div>
|
||||||
|
<ion-fab bottom right>
|
||||||
|
<button ion-fab><ion-icon name="close"></ion-icon></button>
|
||||||
|
</ion-fab>
|
||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-item-group *ngFor="let group of groups">
|
<ion-item-group *ngFor="let group of groups">
|
||||||
<ion-item-divider sticky>{{group.title}}</ion-item-divider>
|
<ion-item-divider sticky>{{group.title}}</ion-item-divider>
|
||||||
|
@ -32,7 +32,7 @@ $z-index-menu-backdrop: 79;
|
|||||||
$z-index-overlay: 1000;
|
$z-index-overlay: 1000;
|
||||||
$z-index-click-block: 9999;
|
$z-index-click-block: 9999;
|
||||||
|
|
||||||
$z-index-fixed-content: 100;
|
$z-index-fixed-content: 999;
|
||||||
$z-index-scroll-content: 1;
|
$z-index-scroll-content: 1;
|
||||||
$z-index-refresher: 0;
|
$z-index-refresher: 0;
|
||||||
|
|
||||||
@ -44,3 +44,4 @@ $z-index-backdrop: 2;
|
|||||||
$z-index-overlay-wrapper: 10;
|
$z-index-overlay-wrapper: 10;
|
||||||
|
|
||||||
$z-index-item-options: 1;
|
$z-index-item-options: 1;
|
||||||
|
$z-index-item-divider: 100;
|
||||||
|
Reference in New Issue
Block a user