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
After discussion on #336 topic, I modify my code to access to texture.source.renderInfo as suggested by @g-zachar. It was working fine until I tried to update the text.
Here a jsfiddle : https://jsfiddle.net/mz48725p/
I just add a timeout to update the text and I get an infinite loop : Uncaught RangeError: Maximum call stack size exceeded at FlexTarget.get flexParent [as flexParent] (lightning.js:2022) at FlexTarget.isFlexItemEnabled (lightning.js:1997) at FlexTarget.isEnabled (lightning.js:1991) at ElementCore.hasFlexLayout (lightning.js:4181) at ElementCore.setDimensions (lightning.js:3101) at StateMachineRouter._updateDimensions (lightning.js:7276) at StateMachineRouter._setDisplayedTexture (lightning.js:7220) at lightning.js:4597 at Set.forEach (<anonymous>) at TextTexture._replaceTextureSource (lightning.js:4595)
Replacing source by _source allow me to by pass the issue but it is not pretty good.
Regards
The text was updated successfully, but these errors were encountered:
After discussion on #336 topic, I modify my code to access to texture.source.renderInfo as suggested by @g-zachar. It was working fine until I tried to update the text.
Here a jsfiddle : https://jsfiddle.net/mz48725p/
I just add a timeout to update the text and I get an infinite loop :
Uncaught RangeError: Maximum call stack size exceeded at FlexTarget.get flexParent [as flexParent] (lightning.js:2022) at FlexTarget.isFlexItemEnabled (lightning.js:1997) at FlexTarget.isEnabled (lightning.js:1991) at ElementCore.hasFlexLayout (lightning.js:4181) at ElementCore.setDimensions (lightning.js:3101) at StateMachineRouter._updateDimensions (lightning.js:7276) at StateMachineRouter._setDisplayedTexture (lightning.js:7220) at lightning.js:4597 at Set.forEach (<anonymous>) at TextTexture._replaceTextureSource (lightning.js:4595)
Replacing
source
by_source
allow me to by pass the issue but it is not pretty good.Regards
The text was updated successfully, but these errors were encountered: