Overall difficult to apply CSS to collapsible field

  • Profile Image
    Asked on December 15, 2018 at 08:42 AM

    I think the collapsible sections are a great tool. They work just fine, but what is a real pain is the JS animation that comes with them. It's sluggish, unnecessary, could be optional and ultimately makes the tool a bit awkward to work with.

    To be specific, it makes it overall difficult to apply CSS to the element - it is set to work with the fixed height of 60px and would look horrible if I were to override the height with my own rules. Also... if a browser has no support for CSS animations, maybe it'd be better off with no animations whatsoever.

    This is a re-post of a comment on Show or Hide Multiple Fields at Once Using the Section Collapse Field

  • Profile Image
    Answered on December 15, 2018 at 02:13 PM

    Thank you for contacting us.

    As far as I know, you can do more on the JS animation when using the full source code of the form. The full source code includes the JS and CSS files of the form so you will be able to customize them.

    Let us know if you have specific customized collapse field you wanted to have on your form that you need help with. We will take a look and check what can be done.