question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't select a row when I scroll down with a mouse

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior If you have datatable with scroll and selection enabled and if you scroll down, you can’t select a row.

Expected behavior You should be able to select a row even if you use scrolling.

Reproduction of the problem http://plnkr.co/edit/Uld4HKYkm0jiTJl5u7j1?p=preview

  • Scroll all the way down.
  • Select one row by clicking on it
  • The selection doesn’t happen
  • If you start scrolling, the selection appears

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Table version: 11.0.5 - 11.1.7

  • Angular version: 5.1.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
Golosaycommented, Jan 23, 2018

Zone can help in this way:

public onSelect({ selected }): void {
    this.zone.run(() => {
      this.selected.splice(0, this.selected.length);
      this.selected.push(...selected);
    });
  }
0reactions
deegcommented, Jun 3, 2018

@marjan-georgiev, I believe this should be fixed and can be closed with #1375 which was just merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble selecting cells or objects with mouse
Hi, I have Win10 and Office10 installed. Mouse selection has become buggy. In excel, I can no longer reliably left click, hold and...
Read more >
Can't Scroll in Excel? Here Are Reasons and Easy Fixes!
You cannot scroll in Excel? Here are four different potential reasons and simple solutions! Try these and you will be able to scroll...
Read more >
Reader Question: Cannot select single cell, row, or column
This basically means that your first mouse click will define the start of your selection and your second mouse click will define the...
Read more >
microsoft excel - Scroll wheel not working during selection
If you want to select all the way down a column to the first blank row, try this: Click on top cell. Press...
Read more >
Excel Mouse Scroll Not Working? Try These Fixes
To turn this off, you can follow these steps: Go to the View tab on the top part of your screen. Select Unfreeze...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found