ionic-gallery-modal icon indicating copy to clipboard operation
ionic-gallery-modal copied to clipboard

High CPU usage when sliding the images

Open moda20 opened this issue 8 years ago • 2 comments

I am getting a strange CPU usage spikes when i used your module in my app. this happens when i slide an image to go to the next one. Is there any way of reducing it ?

i have a question too : Does the module track all the images given everytime an image slide is happening?

moda20 avatar Aug 09 '17 08:08 moda20

Hi, I have a plan on reducing that, actually 👍

What do you mean by tracking?

nikini avatar Aug 24 '17 07:08 nikini

What I meant is: does the plugin refreshes the list of images on every slide? I asked that because at the time it looked like the problem of the High CPU Usage but. I did find a workaround which is: reducing the size of the array of images given to the gallery modal. the original size was about 250 element, the new one is 30.

moda20 avatar Sep 05 '17 16:09 moda20