sticky icon indicating copy to clipboard operation
sticky copied to clipboard

sticky-update not firing

Open NeilAllen opened this issue 8 years ago • 1 comments

Hi!, I'm running the example-center straight out of the box, but the sticky-update doesn't fire.

-Neil

NeilAllen avatar Jul 05 '16 13:07 NeilAllen

Same with me...update-event isn't being triggered, Did you figure it out why? Looking at the code, only in one specific case the sticky-update is triggered that is when the following conditions are true:

  • the "currentTop !== null" meaning that the sticky function is already started - and the 'sticky-start' was triggered in the past

  • the 'currentTop !== newTop" meaning that for some reason, the top position value is supposed to change when scrolling

For the reasons above, I don't understand when this can occur...maybe with some layout change?

Thanks

FDBenevides avatar Mar 27 '17 14:03 FDBenevides