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

Fixed scrolling when verticalScrollHeight is 0 #3690

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 4, 2015

Open the basic example:
http://ui-grid.info/docs/#/tutorial/101_intro
Hover above the grid and try to scroll up - it doesn't scroll the page.
Scrolling down, however, works.

This fixes it

@villelahdenvuo
Copy link

Duplicates: #3666 #3531 #3340 (for reference)

@swalters
Copy link
Contributor

@500tech-user Can you tell me is this still an issue in master? I think this was fixed in some other commits.

@swalters
Copy link
Contributor

ok, I see that mousewheel is still broken for it

@swalters swalters self-assigned this Jun 18, 2015
@swalters
Copy link
Contributor

Thanks for PR.

Rather than putting the logic where you have it, we would rather see the verticalScrollLength property added to scrollEvent and then the atBottom, atTop, atLeft, and atRight can use that number to determine if it is at bottom, top, etc.

I'll look at making this change and will close this PR when complete.

@swalters
Copy link
Contributor

Should be fixed with
e582174 . Thanks for the PR

@ghost
Copy link
Author

ghost commented Jun 19, 2015

Awesome
BTW, I also noticed that when zooming in or out the calculation is wrong.
Did you ever encounter that?

On Fri, Jun 19, 2015 at 5:50 AM, Shane Walters notifications@github.com
wrote:

Closed #3690 #3690.


Reply to this email directly or view it on GitHub
#3690 (comment).

@rhrasna
Copy link

rhrasna commented Jul 21, 2015

The problem persists in v.3.0.1.

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

Successfully merging this pull request may close these issues.

None yet

4 participants