You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -99,8 +99,8 @@ A renderless version provides all the functionality required to build a proper `
99
99
</footer>
100
100
</div>
101
101
</div>
102
-
</portal>
103
-
</a11y-vue-dialog-renderless>
102
+
</a11y-vue-dialog-renderless>
103
+
</portal>
104
104
</template>
105
105
106
106
<script>
@@ -141,6 +141,34 @@ export default {
141
141
- Here's a [codesandbox to play with](https://codesandbox.io/s/renderless-a11y-vue-dialog-q5lqk?file=/src/components/DialogConfirm.vue)
142
142
- Checkout [this example](https://github.com/edenspiekermann/a11y-dialog#expected-dom-structure) for what's the minimum expected markup for an accessible dialog
143
143
144
+
145
+
### Usage with <transition>
146
+
> When you use a <transition> as the root element of the portal and then remove the portal (i.e. with v-if) or set its disabled prop to true, no leave transition will happen.
147
+
> While this is to expected, as the same thing would happen if you removed a div that contains a <transition>, it often trips people up, which is why it's mentioned here.
A playground is used to test the component locally. It uses [`vue/cli` instant prototyping feature](https://cli.vuejs.org/guide/prototyping.html), so the downside is that you have to install it globally.
0 commit comments