Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 9927615

Browse files
authored
Update README.md
1 parent b710c25 commit 9927615

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ In any `.vue` file:
2727
<Content v-if="show" />
2828
</transition>
2929
```
30+
Be sure to set the [mode](https://vuejs.org/v2/guide/transitions.html#Transition-Modes) of the transition so it doesn't appear janky:
31+
```html
32+
<transition name="fade" mode="out-in">
33+
<Content v-if="show" />
34+
</transition>
35+
```
3036

3137
## Contributors ✨
3238

@@ -45,4 +51,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
4551
<!-- prettier-ignore-end -->
4652
<!-- ALL-CONTRIBUTORS-LIST:END -->
4753

48-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
54+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

0 commit comments

Comments
 (0)