Questions tagged [vue-transitions]

101 questions
6
votes
1 answer

Nested Vue transitions: one transition works, the other doesn't

I have a modal which is a white container on top of a semi-transparent dark backdrop. When this modal is triggered I want the backdrop to fade in, and after that I want the white container to slide up from bottom of the screen. But while the fade-in…
drake035
  • 3,955
  • 41
  • 119
  • 229
6
votes
1 answer

vue fade transition only work when element is leaving and not entering

I am trying to learn Vue.js and doing a basic fade. I have an list of links that always stay on the page. On clicking the link, I wish to fade in and out the visibility of a div. By default the div isn't seen. This div contains several components. I…
Laiqa Mohid
  • 461
  • 3
  • 14
5
votes
1 answer

Transition not working for slots in vue 3

I was trying to add transition to a slot like this Added CSS classes like this .committee-enter-from{ opacity: 0; …
vithu shaji
  • 339
  • 3
  • 14
5
votes
2 answers

Vue transition-group - how to prevent "jumping"?

I have two divs that i transition between using transition-group, which works as it should - however, the content below the divs transitioning, is "jumping" depending on the height of the divs. What I want it that jumping being prevented, and…
viewist
  • 77
  • 1
  • 7
4
votes
2 answers

Vue.js - no access to this.$parent when child component is inside

What I want: I have two components, the parent component (Wall.vue) and the child component (PostItem.vue). Every PostItem has a delete button. On click, a request to my API is sent and the item gets deleted from the database. Then I want to call…
Michel
  • 127
  • 3
  • 11
4
votes
1 answer

vue transitions without having to use v-if / v-show

Brief question since I'm new to Vue transitions. My question is if it possible to apply a transition to an element/component without re-rendering it. Hence, not with the use of v-if or v-show. My use case is expanding and shrinking a div component…
kib
  • 77
  • 5
3
votes
2 answers

Vue3 router + transitions warnings

I have a wrapper component with a transition: // Wrapper.vue