Merge pull request #2477 from tugcekucukoglu/sidebar-demo

sidebar demo baseZIndex fixed
pull/2478/head
Tuğçe Küçükoğlu 2022-04-21 11:56:51 +03:00 committed by GitHub
commit 99b8a374c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 20 deletions

View File

@ -16,23 +16,23 @@
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" /> <Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" />
<Button icon="pi pi-th-large" @click="visibleFull = true" /> <Button icon="pi pi-th-large" @click="visibleFull = true" />
<Sidebar v-model:visible="visibleLeft" :baseZIndex="1000"> <Sidebar v-model:visible="visibleLeft" :baseZIndex="10000">
<h3>Left Sidebar</h3> <h3>Left Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleRight" :baseZIndex="1000" position="right"> <Sidebar v-model:visible="visibleRight" :baseZIndex="10000" position="right">
<h3>Right Sidebar</h3> <h3>Right Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleTop" :baseZIndex="1000" position="top"> <Sidebar v-model:visible="visibleTop" :baseZIndex="10000" position="top">
<h3>Top Sidebar</h3> <h3>Top Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleBottom" :baseZIndex="1000" position="bottom"> <Sidebar v-model:visible="visibleBottom" :baseZIndex="10000" position="bottom">
<h3>Bottom Sidebar</h3> <h3>Bottom Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleFull" :baseZIndex="1000" position="full"> <Sidebar v-model:visible="visibleFull" :baseZIndex="10000" position="full">
<h3>Full Screen</h3> <h3>Full Screen</h3>
</Sidebar> </Sidebar>
</div> </div>

View File

@ -225,23 +225,23 @@ export default {
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" /> <Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" />
<Button icon="pi pi-th-large" @click="visibleFull = true" /> <Button icon="pi pi-th-large" @click="visibleFull = true" />
<Sidebar v-model:visible="visibleLeft" :baseZIndex="1000"> <Sidebar v-model:visible="visibleLeft" :baseZIndex="10000">
<h3>Left Sidebar</h3> <h3>Left Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleRight" :baseZIndex="1000" position="right"> <Sidebar v-model:visible="visibleRight" :baseZIndex="10000" position="right">
<h3>Right Sidebar</h3> <h3>Right Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleTop" :baseZIndex="1000" position="top"> <Sidebar v-model:visible="visibleTop" :baseZIndex="10000" position="top">
<h3>Top Sidebar</h3> <h3>Top Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleBottom" :baseZIndex="1000" position="bottom"> <Sidebar v-model:visible="visibleBottom" :baseZIndex="10000" position="bottom">
<h3>Bottom Sidebar</h3> <h3>Bottom Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleFull" :baseZIndex="1000" position="full"> <Sidebar v-model:visible="visibleFull" :baseZIndex="10000" position="full">
<h3>Full Screen</h3> <h3>Full Screen</h3>
</Sidebar> </Sidebar>
</div> </div>
@ -273,23 +273,23 @@ export default {
<Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" /> <Button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2" />
<Button icon="pi pi-th-large" @click="visibleFull = true" /> <Button icon="pi pi-th-large" @click="visibleFull = true" />
<Sidebar v-model:visible="visibleLeft" :baseZIndex="1000"> <Sidebar v-model:visible="visibleLeft" :baseZIndex="10000">
<h3>Left Sidebar</h3> <h3>Left Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleRight" :baseZIndex="1000" position="right"> <Sidebar v-model:visible="visibleRight" :baseZIndex="10000" position="right">
<h3>Right Sidebar</h3> <h3>Right Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleTop" :baseZIndex="1000" position="top"> <Sidebar v-model:visible="visibleTop" :baseZIndex="10000" position="top">
<h3>Top Sidebar</h3> <h3>Top Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleBottom" :baseZIndex="1000" position="bottom"> <Sidebar v-model:visible="visibleBottom" :baseZIndex="10000" position="bottom">
<h3>Bottom Sidebar</h3> <h3>Bottom Sidebar</h3>
</Sidebar> </Sidebar>
<Sidebar v-model:visible="visibleFull" :baseZIndex="1000" position="full"> <Sidebar v-model:visible="visibleFull" :baseZIndex="10000" position="full">
<h3>Full Screen</h3> <h3>Full Screen</h3>
</Sidebar> </Sidebar>
</div> </div>
@ -322,23 +322,23 @@ export default {
<p-button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2"></p-button> <p-button icon="pi pi-arrow-up" @click="visibleBottom = true" class="mr-2"></p-button>
<p-button icon="pi pi-th-large" @click="visibleFull = true"></p-button> <p-button icon="pi pi-th-large" @click="visibleFull = true"></p-button>
<p-sidebar v-model:visible="visibleLeft" :base-z-index="1000"> <p-sidebar v-model:visible="visibleLeft" :base-z-index="10000">
<h3>Left Sidebar</h3> <h3>Left Sidebar</h3>
</p-sidebar> </p-sidebar>
<p-sidebar v-model:visible="visibleRight" :base-z-index="1000" position="right"> <p-sidebar v-model:visible="visibleRight" :base-z-index="10000" position="right">
<h3>Right Sidebar</h3> <h3>Right Sidebar</h3>
</p-sidebar> </p-sidebar>
<p-sidebar v-model:visible="visibleTop" :base-z-index="1000" position="top"> <p-sidebar v-model:visible="visibleTop" :base-z-index="10000" position="top">
<h3>Top Sidebar</h3> <h3>Top Sidebar</h3>
</p-sidebar> </p-sidebar>
<p-sidebar v-model:visible="visibleBottom" :base-z-index="1000" position="bottom"> <p-sidebar v-model:visible="visibleBottom" :base-z-index="10000" position="bottom">
<h3>Bottom Sidebar</h3> <h3>Bottom Sidebar</h3>
</p-sidebar> </p-sidebar>
<p-sidebar v-model:visible="visibleFull" :base-z-index="1000" position="full"> <p-sidebar v-model:visible="visibleFull" :base-z-index="10000" position="full">
<h3>Full Screen</h3> <h3>Full Screen</h3>
</p-sidebar> </p-sidebar>
</div> </div>