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
When including import '@dotlottie/react-player/dist/index.css'; in the application as described in the documentation, it adds some unscoped css which can interfere with application style, for example it adds the following style:
It's a very common class name, and using it unprefixed can cause unexpected errors in different places. In my specific case, the issue is with the margin: auto; part, but I have no guarantee it won't interfere with other class names too.
...
Consuming repo
What repo were you working in when this issue occurred?
I'm using the @dotlottie/react-player package.
Labels
Add the Type: Bug label to this issue.
The text was updated successfully, but these errors were encountered:
Thanks for the quick reply @theashraf!
It looks like I was using the now deprecated dotlottie player instead of the dotlottie-web. Switching to the new one solved my issue.
Overview
When including
import '@dotlottie/react-player/dist/index.css';
in the application as described in the documentation, it adds some unscoped css which can interfere with application style, for example it adds the following style:It's a very common class name, and using it unprefixed can cause unexpected errors in different places. In my specific case, the issue is with the
margin: auto;
part, but I have no guarantee it won't interfere with other class names too....
Consuming repo
I'm using the
@dotlottie/react-player
package.Labels
Type: Bug
label to this issue.The text was updated successfully, but these errors were encountered: