If while using the W-Accordion component you update a property of the elements over which the component is looping, the automatic closing of the elements is triggered.
Is it wanted?
Is schedule a Ref type? That part of your code isn't shown. Can you make a minimal reproduction in Codepen or something similar to better demonstrate the problem?
If while using the W-Accordion component you update a property of the elements over which the component is looping, the automatic closing of the elements is triggered. Is it wanted?
Here the example snippet: