Why do lags occur during resize?

Why do lags occur during resize?

Do you have an example of when lag occurs when resizing? A video / code snippet & system info would be best.

I don’t actually know why it happens, but for me, adding

antialiasing: true

to your application iced::settings::Settings helped.