-
Notifications
You must be signed in to change notification settings - Fork 25
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
Texts are rendered even when they or parents have alpha 0 #181
Comments
Do you have an example: https://playground.solidjs.com/anonymous/554e0cbd-d435-4118-80e0-10e0e1898450 For me alpha 0 on a parent is hiding the text as well. LMK how to reproduce - Make sure you're updated to latest renderer + solid release |
Take a look to the console -> pageDrawTime the text triggers a pageDraw even if alpha is 0. This does't happen if you replace the text with a View image |
Ah ok - so the text isn't visible then? But it's still taking render cycles? |
I've tested the SDF renderer and this isn't happening - I think only the canvas renderer has this issue |
I confirm, only canvas renderer has this issue |
Should no longer be happening with 2.9.0 - lets check again |
Where text elements are rendered even when their parent container has an alpha value of 0. This slow down the main stage rendering.
Expected Behavior:
When the parent container's alpha value is set to 0, all of its child elements, including text, should not be rendered.
Actual Behavior:
Despite setting the alpha value of the parent container to 0, text elements within it are still rendered.
The text was updated successfully, but these errors were encountered: