Open lekoala opened 10 years ago
Hi @lekoala,
Thanks for that. Do you now browser compatibility of this solution? Parsley strive to support IE7+ browsers for example.
Best
To be honest, I haven't tested, but it should gracefuly fallback to simple show/hide if animation is not supported.
The default css allows a nice fadeIn transition. The only problem with it is that the element is still displayed as a block in the dom, which can lead to layout changes (for instances, if you have multiple input fields one after the other)
To avoid this, the .parsley-errors-list should be set to display:none. But then, no more css3 transition :-(
The solution is to use a keyframe animation, like the following:
What do you think?