Coral ids and attributes are getting added after the Coral.commons.ready | Community
Skip to main content
bhansa
Level 2
March 10, 2022
Question

Coral ids and attributes are getting added after the Coral.commons.ready

  • March 10, 2022
  • 1 reply
  • 640 views

Hi, I have a situation where my code is relying on some of the ids and attributes which are getting added on the Coral component.

The Moment when Coral.commons.ready is triggerred the DOM looks like this:

<coral-panel class="_coral-Panel" role="region">

 

After I remove my breakpoint from code, I see other attributes getting added:

<coral-panel class="_coral-Panel" role="tabpanel" id="coral-id-761" aria-labelledby="coral-id-751">

 

Since they are getting added later my code is not able to capture those. This was not the case with previous touch UI dialogs.

 

Thanks,

Bharat

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

August 29, 2022

@bhansa did you get solution for this one? I got same kind of issue, though.