stickUp2 icon indicating copy to clipboard operation
stickUp2 copied to clipboard

not sticky when change browser size

Open davydkoff opened this issue 9 years ago • 1 comments

If i use

function(){ if( $(window).width() < 768 ) return false; return true; }

on load browser width 600, height 600 stickUp2 off, scroll up, then when I change the width & height of the browser (1920x1080) stickUp2 on correctly.

But if i load browser width 1920, height 1080, then when I change the width & height of the browser to 600x600, scroll up, and returns the inverse of the width and height of the browser, stickUp2 incorrectly considers the size.

How i do reinit stickUp2 when change width of the browser?

davydkoff avatar Apr 03 '16 03:04 davydkoff

Hi,

can you make up a codepen showing the issue?

ppowalowski avatar Apr 05 '16 13:04 ppowalowski