Questions tagged [transition]

DO NOT USE! THIS TAG IS AMBIGUOUS. Try to use a less ambiguous tag like [css-transitions], [android-animation] or [ios-animations] [pytransitions] if possible.

5240 questions
1
vote
0 answers

What to do with Unknown Markov State

I have a state in my test dataset that did not exist in my training set (Therefore not in my transition matrix) How can I create a transition probability simplex of this unknown state or make assumptions on the closest state to use that is available…
1
vote
1 answer

How to count state transition?

If my df consist of M M D M D S M K M So the idea is a for loop to go through each row and count the combination for a transition matrix with the final output as M D S K M 1 2 0 1 D 1 0 1 0 S 1 0 0 0 K 1 0 0 0 I've found from previous post…
Werrby
  • 41
  • 6
1
vote
2 answers

Change background behind a UIViewAnimationTransition

When animating a transition to another view I am using the following code: [UIView beginAnimations:@"transition" context:nil]; [UIView setAnimationDuration:0.5]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft …
zzzzzz
  • 493
  • 2
  • 12
1
vote
0 answers

How to make multiple different Vue transtition?

I'm trying to make this animation between "work" and "bio" section as you can see on this web: https://alitwotimes.com/ I watched multiple videos about in Vue but the transition is working just from right to left and left to right…
1
vote
2 answers

Present UIViewController using full page curl?

Is their a way to use a full page curl to present a UIViewController?
Aspyn
  • 647
  • 1
  • 10
  • 25
1
vote
0 answers

Applying slide down transition to border on Vue Accordion component

I am trying to apply a slide-down Transition to this Accordion component but I am not getting the expected behavior. The transition gets applied to the content/text inside the accordion but I would like to achieve for the border line to have a…
1
vote
2 answers

How to force transition animation for properties not yet defined on the element?

I have this code: var c = document.getElementById('container'); function expand() { c.style.maxHeight = ~~(Math.random() * 50 + 50) + 'px'; // it can be any value // Since the value is dynamic, static solutions (like CSS…
Wolfgang Amadeus
  • 398
  • 3
  • 12
1
vote
1 answer

Subview showing/hiding transition not working

Still a beginner in SwiftUI animations and struggling with this issue. I have a custom search bar that resembles its native counterpart. Everything's working fine except for the inserting/removing views animations. Here's what's happening: The…
cenas
  • 13
  • 2
1
vote
1 answer

Make a Div Expand to the Left insteaf of the Right | framer-motion and react

I have a simple transition that I created using framer-motion and chakra-ui. If you are not familiar with chakra-ui a flex is nothing but just a div with the display set to flex. This is what it looks like: I'm trying to do the exact same…
Vipul Rajan
  • 494
  • 1
  • 5
  • 16
1
vote
0 answers

vue js transition between two buttons

I am trying to swap between two buttons using vue js transition. I need to exchange the position of two accordions like this-- adode xd example I have done this part. But how do I swap the buttons using vue transitions?
16_018_RHR
  • 425
  • 3
  • 10
1
vote
2 answers

Animation effect during changes in a UIView

I want to create transition animation within a UIView (not from one UIView to another). I have one UIView that has two UITextView fields with some text in them that comes from a database record. There are next/back buttons on the screen also. When…
Vic
  • 935
  • 2
  • 14
  • 21
1
vote
2 answers

CSS3 Transitions Help

I can't seem to get my head around this but I'm sure it's pretty simple.. Basically I have some text like this: DJDM, which are my initials. What I'm trying to do is to make it so that when you hover over one of the letters, the full name appears…
DJDMorrison
  • 1,302
  • 2
  • 17
  • 34
1
vote
0 answers

how to animate height to value 'auto' of mounted/unmounted react component using react-spring and transition

is there a way of animating height from 0 to 'auto' of a newly mounted component using react-spring transition? After research I found only a workaround by animating max-height instead of height. working example…
user940912
  • 11
  • 1
1
vote
0 answers

Unity C# Calculation not working. Outputs twice in a row with different solutions

Code inside a method that gets called in the FixedUpdate() Debug.Log("Tran: " + Mathf.Min(Time.timeSinceLevelLoad * (1 / movementSpeedTransitionLength), 1)); Debug.Log("LevelLoad: " + Time.timeSinceLevelLoad); After some time the output looks like…
1
vote
1 answer

`.transition(.move(edge: .bottom))` for element inside `ZStack` not working with `withAnimation` on button

I'm trying to build a simple animated overlay. Ideally, the dark background fades in (which it's doing now) and the white card slides up from the bottom edge (using .transition(.move(edge: .bottom). Here's my ContentView.swift file: struct Overlays:…
ragavanmonke
  • 409
  • 3
  • 13