Skip to content
New issue

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

the background is filled with a skinColor square. #13

Open
gudtkd928 opened this issue Oct 24, 2018 · 4 comments
Open

the background is filled with a skinColor square. #13

gudtkd928 opened this issue Oct 24, 2018 · 4 comments

Comments

@gudtkd928
Copy link

If the mobile side menu and the body display avatars at the same time, the background is filled with a skinColor square.
When Avatar disappears by folding items in the side menu, the square of body disappears.
This is what happens when they are on a different page.

@sujan-basnet
Copy link

Are there any updates for this? I have the same issue.

@Mazurevitz
Copy link

Mazurevitz commented Jun 2, 2020

In my case there was a sidebar I was hiding on mobile using display: none; and it caused a flood of skin colour. I changed it to transform: scale(0); and now it's fine.

@lek890
Copy link

lek890 commented Dec 23, 2020

I also had the above issues. The problem is with id duplication. It can be fixed by updating the avatar component to use unique ids instead of the hardcoded ones.

I have a fork where this is fixed. https://github.com/lek890/avataaars

I also upgraded this package to react 16+ and used context api to implement the logic. This will solve this listener issue as well. If anyone wants to use it, its here

@valentinvichnal
Copy link

@lek890 Great work, thank you! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants