Poor performance when dragging

I met some kind of bug using chrome plugins which renders DOM elements. Something like smooth scroll etc. Maybe he should look at plugin list and try to disable them.

You can take a look at the Test page but it happens on all pages.

I’ve disabled all my browser addons and it makes no difference.

Hi @Jvp,

I appreciate your patience with this and for letting me test on your site. I tried a bunch more things and I was able to simulate degraded performance in Firefox with a bunch of elements. I tried another computer and started to see how it could get painfully slow. It’s something in our drag and drop library. I’m working on an entirely different way of outputting that custom cursor that circumvents the library. I’ll keep you up to date.

Great! I’m very glad you’ve found the cause :smiley:

Hi @JvP,

I’ve just pushed beta6. I did identify and correct a severe performance concern, so I’m curious to see if this improves for you. It may also be the root cause of the color picker issues you were having.

Thanks @alexander you seem to have fixed the performance issue. Smooth as butter now :slight_smile:

In the theme options in beta6 I can’t scrub through colors in Huebert at all anymore. In the builders Huebert works perfectly.

Getting the following error in the console when I start dragging around in the color picker:

Hi @JvP!

It works for me. Maybe the error is unique to Huebert combined with some specific element? Where are you getting that?

Any color picker in the Theme Options

Lol, Theme Options. Didn’t see that. Yup, I am getting the same.

1 Like

Thanks. Sorry about that. We’ll get one more pushed out. Fixed.

Huebert in theme options is working properly again in beta7.

Great to hear that! Thanks for letting us know.

1 Like

@alexander I’m afraid it’s still not quite right. In Opera drag and drop is now very jumpy and the cursor becomes invisible as soon as you start dragging an element.

Check this screencast made in Opera and compare it to this one made in Firefox.

You have to see it in person because in the (Opera) screencast it actually looks quite smooth and you can see the cursor. But it’s definitely not.

Agree with this lag being experienced in Beta7. It’s pretty bad when dragging elements. I know there are a ton of settings that need to be loaded but SR doesn’t have this issue.

1 Like

Thank you @JvP and @DoncoMarketing,

What I’ve observed is that sending data between the iframe and main window is what introduces the most lag. I’ve gone through and made changes that use requestIdleCallback to allow the transmissions to be made, but anything non vital should wait until it won’t be UI blocking. Let me know if that makes a difference in the next release.

As for the cursor disappearing, this is a separate issue but one I’ve been able to confirm and have an idea how to address.

Update: In fixing some other preview issues I’ve made some more improvements here. I’m sorry about all the iterations. When we get the next beta out let me know how that works for you.

1 Like

Excellent. Looking forward to try the next beta. Thanks @alexander

:thumbsup:

Ok, performance is much better now. I think it’s properly fixed this time :grinning: