jScrollPane icon indicating copy to clipboard operation
jScrollPane copied to clipboard

Scroll bind function problem

Open quevlu opened this issue 8 years ago • 1 comments

Hi. I am having a problem with the scroll function.

I am developing the following event: When you click on a link contained in a load div but before the JScrollPane without defined content and configuration is as follows:

ulList.jScrollPane ({ showArrows: false, mouseWheelSpeed: 20, autoReinitialise: true, stickToBottom: true, maintainPosition: true });

After loading the content I call this function to scroll down Toggles between the

ulList.on ('jsp-initialised', function () { $ (This) .data ('jsp') scrollToBottom ().; });

Then I have the function:

ulList.bind ('jsp-scroll-y', function (event, scrollPositionY, isAtTop, isAtBottom) {

    // Code here });

The problem is that when the scroll is iniacializa has no content and then charge you when the content and move it down I take the event as if scroll top.

If I can help thank you very much

quevlu avatar Mar 29 '16 00:03 quevlu

Is this still issue?

illuusio avatar Jan 12 '18 10:01 illuusio