mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-27 01:46:02 +03:00
[GH-ISSUE #682] Image Preloading #364
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#364
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saxxi on GitHub (Feb 24, 2020).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/682
I am listing in a dropdown a list of countries with a flag next to each label.
It's loading the images correctly but sometimes it takes quite some time to load all images. Would it be possible to preload or even convert these images into a font?
I've tried icomoon but some icons had issues, is there any alternative?
Thank you.
@lipis commented on GitHub (Feb 24, 2020):
Fonts have no colors.. and flags without colors would be a bit strange :) You could use Emoji though :) 🇩🇪 🇺🇸 🇪🇸 🇬🇷
Either case.. how to use the icons and if it's better to transform them to another format/size is outside of the scope for this project!
Good luck..
@saxxi commented on GitHub (Feb 24, 2020):
Thanks thats a good alternative, I'm now using https://github.com/danalloway/react-country-flag