spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: console error in action group

Open adixon-adobe opened this issue 1 year ago • 3 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

sp-action-group

Expected behavior

No console error when creating an action group

Actual behavior

We're seeing an error when initializing an sp-action-group. (repro could be related to our framework). The issue is that this.slotElements is null here: https://github.com/adobe/spectrum-web-components/blob/main/packages/action-group/src/ActionGroup.ts#L407

Screenshots

Screenshot 2024-02-08 at 10 30 37 AM

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

I have a reproduction on our site, but I don't have a good idea of how to narrow it down (though patching to add a null check seems to fix the issue).

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

adixon-adobe avatar Feb 08 '24 16:02 adixon-adobe

Meant to add that we're not seeing any functional issues here.

adixon-adobe avatar Feb 08 '24 16:02 adixon-adobe

@adixon-adobe is this the same as #3828?

Westbrook avatar Feb 08 '24 20:02 Westbrook

@adixon-adobe Are you still seeing this error?

najikahalsema avatar Aug 21 '24 22:08 najikahalsema