We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I import the player onto a page with inputs, the default blue outline that Chrome adds when focusing on an input element no longer appears.
import { Player } from "@lottiefiles/react-lottie-player"; export default () => <input type='text'/>
In the above example their will be no outline on focus. If you comment out the import the focus outline will return.
It appears to be caused by this CSS with a very generic selector: https://github.com/LottieFiles/lottie-react/blob/master/src/Styles.css#L74
The text was updated successfully, but these errors were encountered:
Noted. Will update the css for next version bump
Sorry, something went wrong.
Thank you so much.
Issue should be fixed now. focus outline will only be set within the Lottie container
No branches or pull requests
If I import the player onto a page with inputs, the default blue outline that Chrome adds when focusing on an input element no longer appears.
In the above example their will be no outline on focus. If you comment out the import the focus outline will return.
It appears to be caused by this CSS with a very generic selector:
https://github.com/LottieFiles/lottie-react/blob/master/src/Styles.css#L74
The text was updated successfully, but these errors were encountered: