stellarwp / kadence-blocks

Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
282 stars 82 forks source link

Accordion Panes Not Opening Utilizing Anchors Triggered On Colocated Page #478

Open gill14 opened 6 months ago

gill14 commented 6 months ago

With an accordion on this page, my plan is to utilize anchors for each pane to open them based on pressing a button located at the top of the same page. The page scrolls to the anchor location, but does not open the applicable accordion pane.

This behavior seems isolated to using anchors within a page. Navigating directly to an anchor from a different page will open the applicable accordion page as expected.

Other details: The Accordion is set to: [True] Panes close when another opens, [False] Start with all panes collapsed

Tested in Chrome and Safari.

Have I misconfigured this setup or is this a bug? Any help/direction appreciated.

oakesjosh commented 6 months ago

Hello Matt! This seems like something that should be supported. I'm not sure if it's a bug or if it has never been supported, but I have created a ticket in our internal system to address this. I can update you in this issue when it is working.

kadencewp commented 6 months ago

Hey, This appears to be a conflict with our scroll to ID in the Kadence Theme (customizer > general > performance), So something we can create a workaround for.

gill14 commented 6 months ago

Awesome. Please let me know if/how I can assist.