tiny-slider icon indicating copy to clipboard operation
tiny-slider copied to clipboard

Flash during reload of slider on Chrome/Microsoft Edge

Open BasBlueDragon opened this issue 1 year ago • 1 comments

Issue description:
During the reload of the slider - when the last image changes in the first image - a flash appears. The flash corresponds to the fall back colour, which in our case is black. Can you please look into the issue and check if this can be solved? Demo link/slider setting:
http://detron.acc-server.nl/ Tiny-slider version:
2.9.3 Browser name && version:
Chrome - Version 103.0.5060.114 (Official Build) (arm64) --> is irrelevant to this problem OS name && version: is irrelevant to this problem

BasBlueDragon avatar Jul 19 '22 13:07 BasBlueDragon

I found a preview workaround solution for this bug in Chrome. In the file tiny-slider.js (on March 02, 2023) there is a doContainerTransformSilent function. In it, the command resetDuration(container, '0s'); You need to specify a very small duration value (I used 13ms). After this fix, the flashing bug disappears in Chrome.

AChPCoder avatar Mar 02 '23 10:03 AChPCoder