freezeframe.js icon indicating copy to clipboard operation
freezeframe.js copied to clipboard

freezeframe.js should have a method to refresh calculations of DOM element

Open eballeste opened this issue 4 years ago • 1 comments

depending on user's viewport width, an asset that might be originally hidden from viewport, the freezeframe script will give it a width and height of 0. it would be great to be able to call some type of refresh method that correctly calculates the images dimensions if it ever becomes visible due to browser resizing.

eballeste avatar Sep 22 '21 18:09 eballeste

I am having the same issue. Some of my GIFs are originally hidden, and thus they get an incorrect width and height.

khalidabuhakmeh avatar Apr 05 '23 19:04 khalidabuhakmeh