mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(nav): start zIndex at 10
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
min-height: 30px;
|
||||
font-weight: 500;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
z-index: 1000;
|
||||
|
||||
&.sticky {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
|
||||
@@ -579,7 +579,7 @@ export class NavController extends Ion {
|
||||
|
||||
_setZIndex(enteringInstance, leavingInstance, direction) {
|
||||
if (!leavingInstance) {
|
||||
enteringInstance._zIndex = 0;
|
||||
enteringInstance._zIndex = 10;
|
||||
|
||||
} else if (direction === 'back') {
|
||||
// moving back
|
||||
|
||||
@@ -1,20 +1,3 @@
|
||||
// import {
|
||||
// ddescribe,
|
||||
// describe,
|
||||
// xdescribe,
|
||||
// it,
|
||||
// iit,
|
||||
// xit,
|
||||
// expect,
|
||||
// beforeEach,
|
||||
// afterEach,
|
||||
// AsyncTestCompleter,
|
||||
// inject,
|
||||
// beforeEachBindings
|
||||
// } from 'angular2/test';
|
||||
|
||||
// import {Compiler} from 'angular2/angular2';
|
||||
|
||||
import {
|
||||
NavController,
|
||||
Config,
|
||||
|
||||
Reference in New Issue
Block a user