Skip to content
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

It disabled window scroll feature #27

Closed
shantinath opened this issue Dec 1, 2015 · 8 comments
Closed

It disabled window scroll feature #27

shantinath opened this issue Dec 1, 2015 · 8 comments

Comments

@shantinath
Copy link

When try to scroll window after placed mouse pointer at ng-scrollable area, window scroll not working event there is nothing to scroll in my ng-scrollable area. It should scroll window in case of there are nothing to scroll or scrollbar reaches to end. Thanks in advance

@saltwoo
Copy link

saltwoo commented Dec 10, 2015

Hi,

I have a very similar problem. I am implementing a mobile page and have a div that is scrollable in X axis and disabled in Y. However when I try to scroll the page itself in Y axis, if I try to scroll the page by scrolling ng-scrollable enabled div, it doesn't let me scroll the main page.

Thanks in advance

@echa
Copy link
Owner

echa commented Dec 10, 2015

@saltwoo can you try the latest master and let me know if that works for you

@shantinath this request is a bit more involved and I'm still thinking about a good solution. For now, place the mouse cursor outside the scrollable area to get the desired effect.

@danscrima
Copy link

Yea I would love this feature added as well. In an ideal world, it would be nice to have the mousewheel start scrolling horizontally through a list and when it got to the end, continue scrolling the main window.

@echa
Copy link
Owner

echa commented Mar 27, 2016

Hey guys. This should work in the new release 0.2.4. The feature turned out to be a bit more tricky than I imagined. Let me know how it feels and make suggestions on how to improve it further.

@echa echa closed this as completed Mar 27, 2016
@shantinath
Copy link
Author

Thanks @echa Now its working fine

@jgeofil
Copy link

jgeofil commented May 3, 2016

This works fine when there is something to scroll in the scrolling area (it reaches the end, then continues scrolling the page/parent). But I'm still having the previously stated problem when there is nothing to scroll (containerWidth > contentWidth). The event is not transmitted to the parent.

@shantinath
Copy link
Author

Yes, @jeremy the same problem I am also facing. I was just going to post
this issue.

Shantinath Roy
On 03-May-2016 10:01 pm, "Jeremy" [email protected] wrote:

This works fine when there is something to scroll in the scrolling area
(it reaches the end, then continues scrolling the page/parent). But I'm
still having the previously stated problem when there is nothing to scroll
(containerWidth > contentWidth). The event is not transmitted to the parent.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#27 (comment)

echa added a commit that referenced this issue Jun 29, 2016
@echa
Copy link
Owner

echa commented Jun 29, 2016

Hey guys, the issue should be fixed now. I finally found some time to dig into it. The fix was surprisingly minimal. Sorry for the long delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants