• Resolved kerryoco

    (@kerryoco)


    I went through about 10 plugins thoroughly and found that with this plugin enabled, I was getting 30 – 60 second complete javascript locks, upon trying to write a large value into a textarea with javascript.

    Does it do some processing in a callback to field changes? That’s what it seemed like. My use case here is a little bit unorthodox, but I had to disable the plugin to continue with the site. I couldn’t figure out what exactly it was doing in that 60 second hang.

    The value I was writing was very large, a stringified image blob, but it completed in 1-2 seconds on 2 other sites.

    • This topic was modified 1 year, 11 months ago by kerryoco.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DannyCooper

    (@dannycooper)

    Hi @kerryoco,

    Could you share some more details about where this is happening (Gutenberg, Classic Editor, Customizer, etc.) and how we can replicate it? If you have any code samples that would be great. We are also available at [email protected]

    Thanks

    Thread Starter kerryoco

    (@kerryoco)

    sure thanks. It’s in a Woocommerce product page field. I’m allowing user to customize an image, and then I stringify the image dataURL into a textarea in the product description (or maybe “short description”) set up with Woocommerce Custom Checkout Fields.

    I have the same setup on my localhost (without the plugin) and it completes near instantly. And in toggling the plugin on / off on the live site it did seem to resolve problem. It hangs long enough to throw a couple “this page is frozen, would you like to exit this page” prompts.

    • This reply was modified 1 year, 11 months ago by kerryoco.
    • This reply was modified 1 year, 11 months ago by kerryoco.
    Plugin Author DannyCooper

    (@dannycooper)

    Did the latest Fonts Plugin update resolve this? I checked again and we are only loading a tiny amount of JS on the WooCommerce page (https://github.com/fontsplugin/plugin/blob/master/assets/js/admin.js) which is to dismiss the admin notifications we include.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘writing text to a textarea causes a js lock’ is closed to new replies.