Browser: Chrome 138.0.7204.184
OS: Windows
Hi team,
I’m not sure if this is a bug or expected behavior, but I added a dynamic data element inside the element code and then gave it an absolute position using the selector detector. Everything works fine, but the empty code element position remains.
Code
{"content":[{"id":"uswogc","name":"section","parent":0,"children":["imdgdr"],"settings":[]},{"id":"imdgdr","name":"container","parent":"uswogc","children":["akrnoc","lpexuv"],"settings":{"_direction":"row","_alignItems":"center","_columnGap":"20","_position":"relative"},"selectors":[]},{"id":"ihnwpg","name":"code","parent":"akrnoc","children":[],"settings":{"executeCode":true,"signature":"cf8b94e286af16b7dcc9db5031c5ee75","user_id":1,"time":1753957092,"noRoot":true,"code":"{cart_count}","parseDynamicData":true},"themeStyles":{},"selectors":[]},{"id":"lpexuv","name":"button","parent":"imdgdr","children":[],"settings":{"text":"I am a button","style":"primary"}},{"id":"akrnoc","name":"div","parent":"imdgdr","children":["ihnwpg"],"settings":{},"selectors":[{"id":"oktdad","selector":"[data-brx-cart-count]","settings":{"_background":{"color":{"hex":"#ffcc00","id":"bngoja","name":"Main color"}},"_display":"flex","_width":"25","_height":"25","_justifyContent":"center","_alignItems":"center","_position":"absolute","_right":"0","_top":"0"},"label":"Count"}]}],"source":"bricksCopiedElements","sourceUrl":"https://avangtheme.ir","version":"2.0.1","globalClasses":[],"globalElements":[]}
Thank you

