mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #1127] Missing stars for US flag when used in react-native #528
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#528
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 @rpopovici on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1127
Originally assigned to: @NotTsunami on GitHub.
This issue was introduced in https://github.com/lipis/flag-icons/pull/1096
I am using
react-nativev0.70 andreact-native-svgto render the SVGs@NotTsunami commented on GitHub (Aug 14, 2023):
Wonder if
react-native-svghas an issue with the<marker>element@lipis commented on GitHub (Aug 14, 2023):
@NotTsunami Yes there is an open issue: https://github.com/software-mansion/react-native-svg/issues/1410
@NotTsunami commented on GitHub (Nov 17, 2023):
@rpopovici
react-native-svgv14.0.0 was released a few days ago. Is the issue still relevant with the latest version? It's a real shame that marker elements aren't fully supported as they are a really great way to cut the file size of the flag down.@rpopovici commented on GitHub (Nov 23, 2023):
@NotTsunami still not working..
@NotTsunami commented on GitHub (Oct 3, 2024):
@rpopovici Hi, is this still the case in the latest version of
react-native-svg?@rpopovici commented on GitHub (Oct 3, 2024):
@NotTsunami stars are still missing from the US flag
@lipis commented on GitHub (Jan 17, 2025):
Not sure what we can do for this one. Closing for now.
@duochizhacai commented on GitHub (Mar 17, 2025):
any good new ?
@duochizhacai commented on GitHub (Mar 17, 2025):
refactor into component with react-native-svg will fix it.
@TimRoe commented on GitHub (Jun 23, 2025):
Seeing this mentioned in the
react-native-svgbug with markers and having had a similar problem (probably from a teammate getting the SVGs for flags from this package), I worked around this by using GitHub Copilot to brute force make the stars usingpaths instead ofmarkerso they show in React Native. If helpful:@andyford commented on GitHub (Aug 1, 2025):
oh wow thanks for this solution @TimRoe!
For the square version of the icons I just changed
viewBox="0 0 640 480"toviewBox="0 0 480 480"