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

Selecting last row and dragging below causes table to scroll viewport #1370

Closed
tezhm opened this issue Mar 17, 2014 · 3 comments
Closed

Selecting last row and dragging below causes table to scroll viewport #1370

tezhm opened this issue Mar 17, 2014 · 3 comments
Labels

Comments

@tezhm
Copy link

tezhm commented Mar 17, 2014

When selecting a cell on the last row of a table and drag-selecting below the row into an area outside of the table, the scroll viewport is triggered causing a malfunction of the view. This can be recreated using the demo tables.

@popfanny
Copy link

popfanny commented Apr 9, 2014

watting

@tristanchadwick
Copy link

I too have this issue and have used the following change to temporarily resolve it by only allowing the table to be offset (scrolled down) if the table doesn't fit it's container and therefore the vertical scrollbar is visible.

In src / 3rdparty / walkontable / src / scrollbar.js

WalkontableVerticalScrollbar.prototype.scrollTo = function (cell) {
this.instance.update('offsetRow', cell);
};
becomes
WalkontableVerticalScrollbar.prototype.scrollTo = function (cell) {
if (this.visible) {
this.instance.update('offsetRow', cell);
}
};

@AMBudnik
Copy link
Contributor

AMBudnik commented May 5, 2015

Issue does not occur in 0.14.1 and newer version. If you would till face this issue, please leave us a feedback.

@AMBudnik AMBudnik closed this as completed May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants