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

Use two scroll overlays, for separate fixed- and non-fixed column scrolling #19

Closed
wants to merge 1 commit into from

Conversation

ronen
Copy link
Contributor

@ronen ronen commented Dec 13, 2016

The vertical-only overlay covers the whole width (so that the scrollbar will be on the right) while the horizontal-and-vertical overlay which is above it only covers the non-fixed columns.

This seems to work with the example in test/index.html, and the existing tests pass. I haven't added any new tests, though probably should.

Addresses #18

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 96.714% when pulling fdd8d7c on ronen:scrolling into d4524ea on crisward:master.

@crisward
Copy link
Owner

Interesting idea, just to let you know I'll merge this in first chance I get to check over it. Hopefully you're not in a rush, thanks for you patience.

@ronen
Copy link
Contributor Author

ronen commented Dec 20, 2016 via email

@crisward
Copy link
Owner

Will take a look thank...

One thing I've been looking into is, the current scroll detection has a bit of a flaw in that it's impossible to select the content of the cells or use hover in css. I've just has a quick mess of capturing the scroll event with mouse wheel and touch events - see sample here.

http://codepen.io/crisward/pen/BQborw

It's pretty close, just doesn't have the nice bounce effect on touch devices. I'll probably investigate this more as it may fix #6 too.

@crisward
Copy link
Owner

see update on issue #19

@crisward crisward closed this Dec 28, 2016
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

3 participants