Fixed #627 - Sidebar not visible on mount

pull/682/head
Cagatay Civici 2020-11-25 15:48:01 +03:00
parent 17902bc44b
commit 989827415a
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<transition name="p-sidebar" @enter="onEnter" @leave="onLeave"> <transition name="p-sidebar" @enter="onEnter" @leave="onLeave" appear>
<div :class="containerClass" v-if="visible" ref="container" role="complementary" :aria-modal="modal"> <div :class="containerClass" v-if="visible" ref="container" role="complementary" :aria-modal="modal">
<div class="p-sidebar-content"> <div class="p-sidebar-content">
<button class="p-sidebar-close p-link" @click="hide" :aria-label="ariaCloseLabel" v-if="showCloseIcon" type="button" v-ripple> <button class="p-sidebar-close p-link" @click="hide" :aria-label="ariaCloseLabel" v-if="showCloseIcon" type="button" v-ripple>