react-spring icon indicating copy to clipboard operation
react-spring copied to clipboard

support removing attributes from animated elements (try 2)

Open LoganDark opened this issue 5 months ago • 2 comments

Why

inert does not accept inert='', inert='false', inert='undefined' or etc. The attribute must be entirely removed in order to enable the element again. disabled works the same way.

What

If a value resolves to undefined (not null or false or otherwise) its attribute will now be entirely removed.

Checklist

  • [x] Ready to be merged

LoganDark avatar Sep 16 '24 15:09 LoganDark