Transition doesn't work #124069
Answered
by
judahpaul16
LuComic
asked this question in
Programming Help
Transition doesn't work
#124069
-
BodyHi! I added a transition for my opiq section in the sidepanel, but it doesn't seem work. I don't know much about javascript but I'm guessing there's the problem. Let me know if html code is needed.
}); Guidelines
|
Beta Was this translation helpful? Give feedback.
Answered by
judahpaul16
May 26, 2024
Replies: 3 comments 8 replies
-
Hi can you provide your code? in best case provide repo or peace of codes |
Beta Was this translation helpful? Give feedback.
3 replies
-
I don't know the reason why exactly. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're problem is with
style.display = "none"
. There are no intermediate states between displaying and not displaying so the element will just pop in and out. If you want the transition to ease smoothly, you're gonna have to use opacity in your JavaScript.