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

All flags are blank / white #80

Open
2 of 3 tasks
iamkimchico opened this issue Aug 23, 2022 · 0 comments
Open
2 of 3 tasks

All flags are blank / white #80

iamkimchico opened this issue Aug 23, 2022 · 0 comments

Comments

@iamkimchico
Copy link

** This is a problem in the 'react-flagpack' npm, but it seems like there's no activity in that repo I'll post the bug here in hope of you seeing it **

Please check all that apply

  • visual bug
  • functional bug
  • able to consistently reproduce

Expected Behavior

When I follow the documentation on flagpack.xyz and add a that a flag would appear.

Current Behavior

The outline of the flag appears / the border, but the content of the flag does not and therefor the flag is blank.
I have tried with many different codes and in the 3 different code formats provided and nothing helps.

Possible Solution

I can see that the src in the <img /> is not set and that seems to be the problem.

Steps to Reproduce

  1. Install the react-flagpack
  2. Add the to a component
  3. See that the flag is blank

Your Environment

  • React-flagpack: 1.1.2
  • React: 18
  • Storybook: 6.5.9
  • Browser: Chrome 104.0.5112.81
  • Operating System and version (desktop or mobile): Windows 11 Desktop
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

1 participant