• Resolved leesuckerpunch

    (@leesuckerpunch)


    Hello,
    I am using your plugin, and have created a few custom styles using the proper method (wp.blocks.registerBlockStyle).

    However, this seems to induce extreme browser latency/lag.
    I currently have four different styles for the accordion, and once the accordions get lengthy with child content, it becomes achingly slow to update, especially the title.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    This is caused by the editor constantly trying to render changes made to an accordion in the styles preview panel. If you have a lot of content, it can really burden the preview and slow everything down.

    This is something I can resolve but not showing a live preview in the styles picker, instead just showing sample content. I will work on a fix for this soon.

    Thread Starter leesuckerpunch

    (@leesuckerpunch)

    Yeah, I know that the Gutenberg style preview is something that is still being worked on.

    Being able to enable/disable live previews on the styles picker should be a Gutenberg option, but if you worked it into your plugin that would be excellent as well.

    Plugin Author philbuchanan

    (@philbuchanan)

    This should now be fixed in v1.1.6 of the plugin. It may take a bit for your site to notice/update to the new version.

    Thread Starter leesuckerpunch

    (@leesuckerpunch)

    Phil, you are amazing!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extreme Latency when editing accordion’ is closed to new replies.