Open Vicher opened 1 year ago
Faced the same issue with button component.
I noticed a similar problem with a lot of q-input components on a page. To test it, I created a page with 5,000 (!) q-inputs. The heap size increased about 200M and the memory was not released when the page was unloaded. If I change the q-input to a regular input the page loads quickly and all memory is released properly. Is there a memory leak in q-input?
~Same issue here: #12369.~ nope, actually a different issue, but possibly related!
In my case, I'm seeing extremely slow rendering (a bit under 1 second) with just about 150 q-inputs (it's a list with 50 elements that have 3 q-inputs each). 1 second might not sound like much, but this happens when the user attempts to navigate to another page, so it's rather substantial. I can confirm that, at least in dev mode, unloading the page does not help, and with each remount, the page gets progressively slower, which is rather strange. Anyways, the quick remedy is this workaround, but it's rather unbelievable that q-input has to be so slow, so I hope there's going to be a fix for this.
A slightly different problem is described there. There the problem of the first rendering of elements is described. In my opinion, there is not really a quasar problem there, but vue itself. It’s just that q-input consists of a large number of html nodes and adding them to the DOM takes a lot of time, I think.
The current issue describes the problem of constant lags on the page with many components (any action occurs with a strong delay, including simple hover around elements).
The first message contains a video demonstrating the problem.
Running into this issue as well on a page with many q-inputs. Every action taken on the page has lag.
What happened?
Adding a lot of QInput components (In my case 500) to the page results to a huge lags.
Video
I noticed that the wider the browser window, the more lags. Using profiling in DevTools shows that the browser is busy rendering most of the time.
What did you expect to happen?
No lags
Reproduction URL
https://stackblitz.com/edit/quasarframework-webpack-zkdeka?file=src%2Fpages%2FIndexPage.vue
How to reproduce?
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response