Accordion expanding bug
-
I noticed an issue with the Accordion Block. If you load a page with accordion items that have images or video embeds (iframes), then often when opening accordion items the browser jumps down the page — in other words the anchor link of the accordion causes the browser to scroll.
I wonder if it has something to do with media in WordPress being now
loading="lazy"
so the accordion script is not accurately judging the height of the content? I think it might be this because the issue seems to occur only on accordion items have have images or video content in WP Column blocks.Unfortunately I can’t post a link to the site with this bug because it has not gone live yet (it is launching soon!). Please let me know what we can do to fix this.
- The topic ‘Accordion expanding bug’ is closed to new replies.