flagpack-core icon indicating copy to clipboard operation
flagpack-core copied to clipboard

New Zealand flag seems broken

Open Titou325 opened this issue 4 years ago • 5 comments

Please check all that apply

  • [x] visual bug
  • [ ] functional bug
  • [x] able to consistently reproduce

Expected Behavior

The New Zealand flag should have a red cross in its top left corner.

image

Current Behavior

The New Zealand flag is missing its red cross.

image

This is also the case in this repository

Possible Solution

Add the red cross.

Thanks a lot for this package!

Titou325 avatar Oct 05 '21 10:10 Titou325

Seems to me there is a masking issue with certain flags. I'll collect his and related issues here in as a single issue.

daoneandonly avatar Jul 20 '22 13:07 daoneandonly

As with #72 , the masking within some flag SVG seem to cause some visual bugs and potentially breaking bugs within react-native.

Found in Flags

  • NZ
  • CI

If you have found this only appear in certain sizes, feel free to share any of these insights.

daoneandonly avatar Jul 20 '22 13:07 daoneandonly

@daoneandonly The same issue can also be found in:

  • HR
  • KR

SimpleCreations avatar Jul 20 '22 13:07 SimpleCreations

Croatian (HR) flag as mentioned by @SimpleCreations looks different on the landing page and different in the index. Both seem to have masking issues and scaling is wrong.

Tested on mobile Safari and iOS 16.0.3 webview

7B7E5ED4-CD3F-4D1D-8D47-92B31C860BC6 06ACE9DF-BB3D-4F14-AA19-F0C6DB90EACD

DCzajkowski avatar Oct 20 '22 13:10 DCzajkowski

I've been working from the Figma Flag Pack, and these render bugs don't appear there from what I can tell. The New Zealand flag is how we stumbled upon this issue too.

Is there something in the build step, like a file size optimizer, that might be causing these render bugs? I've had issues like that happen before.

kylegordy avatar Jan 06 '23 20:01 kylegordy