-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrolling not possible, as we can't get any closer to the destination, pageScrollFinish doesn't fires #50
Comments
Hi Martin, glad to hear the this library helps you with your project.
|
Hi @Nolanus, thanks for the response. It's one problem, the first one you wrote. Now the user want to change again the visualization without having to scroll down (because the new height made that the buttons were available without having to scroll down). As position hasn't changed the plugin shows "Scrolling not possible, as we can't get any closer to the destination" and the event isn't fired. The solution you describe in 1) is excellent but maybe it hasn't has to be so complex. I was reading your code and by changing the if starting at line 187:
with
This wouldn't change the meaning of what the event name declares (that the scroll ended) and by sending true as a parameter you are saying that the scroll position is where the dev want's it to be. Am I right? Sorry for my English but it isn't my first language :) |
Thanks! |
Hi, thanks for this directive. I'm having just one problem.
My project has a type of vertical news feed, each feed is a panel that have some buttons in the footer. Those buttons change the way the information is displayed thus causing the height of the panel to change.
In order to the user to always see the correct feed I needed to scroll up to the top of the panel when the information changed. This was really easy to do with this directive.
The thing is that if I want to change the way the information is displayed for a second (or third...) time, and there was no scrolling (the offset to the top hadn't changed) I get this message
and the pageScrollFinish event never fires.
For the moment I managed this issue by assigning a different offset to each anchor (differing by 1px was enough) what I think that the correct thing would be to the event to fire.
Am I missing something?
Thanks,
Martín
The text was updated successfully, but these errors were encountered: