Transition issue
Posted: Mon Nov 18, 2024 3:32 am
I have a simple button (not a themeable one) on my page and I wanted have the background color of it change when the mouse hovers over it.
So...I read up about transitions in the help section and I even went to the sample page where it shows a couple examples and settings. I set my button up according the settings shown in the example.
The settings they show for this is:
Trigger - Hover
Duration - 500
Delay - 0
Timing - Linear
Property - Background
Value - I changed this to a lighter color.
In the examples on the Transitions help page, when you hover the pointer over each example object, the animations ease into the changed state, and when the mouse moves off of the object, it eases out of the changed state. In the button example, the color fades in on hover and then fades out after the mouse is moved elsewhere.
When I try these settings on my button and I hover the pointer over it, it fades into the changed color state with a nice ease, however when I move my mouse pointer off the button it just snaps back its original color...no nice fade out to original color.
Same thing happens on text when I tried the scale animation transition.
I've tried every setting there...no luck. I've read the help...I have searched this forum high and low and finally I came here and made this post.
What am I doing wrong?
So...I read up about transitions in the help section and I even went to the sample page where it shows a couple examples and settings. I set my button up according the settings shown in the example.
The settings they show for this is:
Trigger - Hover
Duration - 500
Delay - 0
Timing - Linear
Property - Background
Value - I changed this to a lighter color.
In the examples on the Transitions help page, when you hover the pointer over each example object, the animations ease into the changed state, and when the mouse moves off of the object, it eases out of the changed state. In the button example, the color fades in on hover and then fades out after the mouse is moved elsewhere.
When I try these settings on my button and I hover the pointer over it, it fades into the changed color state with a nice ease, however when I move my mouse pointer off the button it just snaps back its original color...no nice fade out to original color.
Same thing happens on text when I tried the scale animation transition.
I've tried every setting there...no luck. I've read the help...I have searched this forum high and low and finally I came here and made this post.
What am I doing wrong?