WIP: Background Image URL Input Lag

Browser: Firefox / Safari
OS: macOS / iPadOS

Hello,

When attempting to add a custom URL as a background image in a section, it seems that the Builder sends a GET request immediately after each keystroke.
Since the URL is incomplete, the blue banner “Image not found” is displayed.
This results in significant input lag, making it difficult to type the URL, and the text cursor behaves erratically.

I’ve reproduced the issue across different browsers and operating systems.

Wishing you a wonderful week!

Hello @Abd,

thank you for the report. I can see that the request is made every keystroke, but in my case, it does not create any input lag.

Can you record your screen, including dev tool, so that we see what is happening? You can also record it with jam.dev, so that you automatically record the requests.

But I agree, as an improvement, there could be a small delay. I’ll create the task after you send me a screen recording - so that I have all the data.

Thanks,
Matej

Hello @Matej

I currently can’t screen record from my computer (I would have done so this morning), I can only record the same bug on my iPad using Safari…

Yes, I use my iPad for learning Bricks and quick testing :disguised_face:

Hi @Abd,

Understandable. When you are able, please record a video, as I still can’t replicate the lag issue :slight_smile: Meanwhile, I’ve opened an improvement task for http requests on each keystroke.

Thank you,
Matej

1 Like

Good morning @Matej

Here is a video of the lag issue. I hope it’s more clear, as input lag have different meanings.

I believe that fixing the HTTP request on each keystroke will probably fix the text cursor glitching.

Have a nice day,

Thank you, I’ll add video to the task description.

Best regards,
Matej