You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use lightning inspector to look at an element from a Lightning app with text 'foo' in it, and see attribute texture-text='foo'. In your Lightning app change the text to '' (empty string). In inspector... it still says texture-text='foo'.
I think the underlying issue stems from the fact that changing text from 'foo' to 'bar' means attaching a new texture, and that propagates through to the inspector nicely. Changing text to '' means removing the old texture but not attaching a new one; the inspector doesn't notice.
We have a kinda-workaround, relying on the fact that the w, h drop to 0px when there's no text, but this doesn't work if an explicit width or height has been set in the app (if the width and height are not derived from the text texture dimensions).
We're using Lightning core 2.6.0.
The text was updated successfully, but these errors were encountered:
Tracked by https://www.stb.bskyb.com/jira/browse/NGAPPS-9179 on our side.
Use lightning inspector to look at an element from a Lightning app with text 'foo' in it, and see attribute
texture-text='foo'
. In your Lightning app change the text to '' (empty string). In inspector... it still saystexture-text='foo'
.I think the underlying issue stems from the fact that changing text from 'foo' to 'bar' means attaching a new texture, and that propagates through to the inspector nicely. Changing text to '' means removing the old texture but not attaching a new one; the inspector doesn't notice.
We have a kinda-workaround, relying on the fact that the w, h drop to 0px when there's no text, but this doesn't work if an explicit width or height has been set in the app (if the width and height are not derived from the text texture dimensions).
We're using Lightning core 2.6.0.
The text was updated successfully, but these errors were encountered: