You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i saw this existing issue #67 which proposed spreading the props and wondering if that could be added or create a new prop/configuration for setting the tabindex.
This doesn't work. tabIndex is not a prop for Lottie components
Property 'tabIndex' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Lottie> & Readonly<LottieProps> & Readonly<{ children?: ReactNode; }>'.
hi, i was facing an issue using lottie when my animation was presentational only but it was becoming tabbable due to the hardcoded tabindex = 0
react-lottie/src/index.js
Line 167 in 56f7284
i saw this existing issue #67 which proposed spreading the props and wondering if that could be added or create a new prop/configuration for setting the tabindex.
currently my workaround is something like
but we prefer not to have to do stuff like this, i think the above issue&solution is much cleaner
btw, my first time using react-lottie and i love it! <3
The text was updated successfully, but these errors were encountered: