-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
<Rect>, <Ellipse> are not rendered if opacity set to 0 on Android #1200
Labels
Comments
Faced the same problem! |
@msand Could you please check this issue for Android, I think it will be quick fix. Thanks a lot |
msand
pushed a commit
that referenced
this issue
Jan 4, 2020
# [9.14.0](v9.13.6...v9.14.0) (2020-01-04) ### Bug Fixes * **android:** correct values for measureInWindow, fixes [#1231](#1231) ([3bf07f8](3bf07f8)) * **android:** elements not touchable if below opacity limit ([ebc7220](ebc7220)), closes [#1200](#1200) * **android:** fix radial gradient vertical center offset scaling ([d5bddd5](d5bddd5)) * **ios:** crash when offset is outside range [#1201](#1201) ([a2ef51f](a2ef51f)) * **web:** fix gesture responder dimensions measurement ([36c20b3](36c20b3)) * extraction of clip rule, fixes [#1233](#1233) ([f93bdde](f93bdde)) * Text color doesn't work with inlineSize [#1225](#1225) ([027b8c1](027b8c1)) ### Features * **android:** support using other native views in e.g. masks ([15b4ac6](15b4ac6)) * **ios:** support using other native views in e.g. masks ([518a3b1](518a3b1)) * **web:** Implement support for event, touch & responder handlers ([60561ec](60561ec)) * **web:** Optimize: only set responders if press handler exists ([23250ad](23250ad)) * Implement display="none" ([3e3ad13](3e3ad13)), closes [#1220](#1220)
🎉 This issue has been resolved in version 9.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks a lot |
Released in v10 (breaking change wasn't registered correctly by semantic-release and forgot to do dry-run first) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
Rect, Ellipse and possibly other SVG elements are not rendered if opacity set to 0 on Android.
iOS works fine.
We can detect if element was rendered with onPress handler.
What is interesting, with opacity=0.01 element still doesn't render on Android.
With 0.02 and higher - it is visible and clickable.
Environment info
React native info output:
Library version: 9.13.3
Steps To Reproduce
Describe what you expected to happen:
Reproducible sample code
The text was updated successfully, but these errors were encountered: