Repository navigation
Replies: 2 comments 2 replies
|
Hey @bt-mkt
Are you using inline styles? That might help narrow down where the issue comes from. Try adding a component, give it an console.log(cmp.getId());
console.log(cmp.getAttributes());If the |
|
@mohamedsalem401 @artf If that’s the case—and there’s no plan to change this behavior or add some form of control—I can create a workaround. I just want to confirm whether this is the intended behavior going forward, so I don’t need to revisit or adjust things again later. There’s also another change that affects earlier versions: When avoidInlineStyle is enabled, component IDs no longer seem to be mapped to CSS rules during initialization (this didn’t appear to be the case prior to 0.22.9). As a result:
Could you please confirm whether these changes are intentional and expected to remain? If so, I’ll plan accordingly and implement workarounds specific to my use case. Thanks for your time. |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Since v0.22.9 getComponents() seems to be removing/ignoring the
idattribute from the component attributes list (at least on my end it is).Is this behaviour intended? A bug? Or something I have to change on my end?
Coult it be related to __clearAttributes which was added in this version?
Is there anything I can check on my end? The main issue is that since it's not keeping the id and a new one is provided, any css set on that component (for that specific id) is lost on the next load.
Thank you for any advice or input.
@artf
All reactions