cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Can I disable animation when collapsing/expanding containers?

DanWolf
14-Alexandrite

Can I disable animation when collapsing/expanding containers?

Is it possible to disable the animation of collapsing and expanding containers in a mashup?  When I trigger an expand/collapse of a container in the mashup there is a brief "sliding" of the container to show or hide it.  I would like to immediately show or hide the container without the sliding animation.  One of my biggest gripes is when I have a container with expand/collapse enabled and the "Expanded" checkbox disabled (I don't want to show the container when the mashup loads).  When users load the mashup, the container appears and slides away for about a second.

 

I've tried adding a custom css class to the container where the class has "animation: 0s", but that doesn't do anything.  Any ideas?

 

ACCEPTED SOLUTION

Accepted Solutions
QuentinR
13-Aquamarine
(To:DanWolf)

Hello DanWolf,

 

Actually you were pretty close.

Assuming you give the customClass "testSlider" to your collasping panel, the CSS is:

 

.testSlider {
       transition: none !important;
}

View solution in original post

2 REPLIES 2
QuentinR
13-Aquamarine
(To:DanWolf)

Hello DanWolf,

 

Actually you were pretty close.

Assuming you give the customClass "testSlider" to your collasping panel, the CSS is:

 

.testSlider {
       transition: none !important;
}

DanWolf
14-Alexandrite
(To:QuentinR)

Perfect, thanks!

Announcements


Top Tags