Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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?
Solved! Go to Solution.
Hello DanWolf,
Actually you were pretty close.
Assuming you give the customClass "testSlider" to your collasping panel, the CSS is:
.testSlider {
transition: none !important;
}
Hello DanWolf,
Actually you were pretty close.
Assuming you give the customClass "testSlider" to your collasping panel, the CSS is:
.testSlider {
transition: none !important;
}
Perfect, thanks!