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

Base 64 encoded SVG icons don't work #766

Closed
1 of 3 tasks
hugoabernier opened this issue Jan 22, 2019 · 0 comments
Closed
1 of 3 tasks

Base 64 encoded SVG icons don't work #766

hugoabernier opened this issue Jan 22, 2019 · 0 comments

Comments

@hugoabernier
Copy link
Collaborator

hugoabernier commented Jan 22, 2019

Category

  • Question
  • Bug
  • Enhancement

Expected or Desired Behavior

According to Configure web part icon, you should be able to use a base64-encoded SVG file as your SPFx web part.

Observed Behavior

SVG icons do not render. Upon further inspection, the SVG resource doesn't seem to ever get loaded or added to the page.

Steps to Reproduce

  1. Follow the steps listed in Configure web part icon to add a base64-encoded SVG icon.

  2. Package the web part

  3. Deploy the web part

  4. Open the Add Web Part "dialog".

  5. The SVG icon will be blank.

  6. Try the same steps, using a base64-encoded PNG file.

  7. The PNG icon will appear.

  8. Cry.

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