liferay / clay

A web implementation of the Lexicon Experience Language
http://clayui.com
Other
207 stars 470 forks source link

fix(@clayui/empty-state): fixes bug when always trying to render the image for reduced motion when disabled #5824

Closed matuzalemsteles closed 4 months ago

matuzalemsteles commented 4 months ago

Follow-up #5819

We made a change that broke the behavior where there are some cases where reduced motion is not necessary because the main image is static and so we have to disable the use of reduced motion by setting the imgSrcReducedMotion variable to null.