component-library icon indicating copy to clipboard operation
component-library copied to clipboard

onOpen event does not pass anything on Accordion

Open oscarssanchezz opened this issue 8 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Create accordion using example fromhttps://baseline.10up.com/component/accordion/
  2. Set the onOpen callback using the example https://baseline.10up.com/component/accordion/
  3. You will get an error saying the object cannot be destructured.

Expected behavior It should pass the element on open.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Mobile (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Please list more relevant information here.

oscarssanchezz avatar Apr 24 '25 07:04 oscarssanchezz