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.

With scrollbarV enabled after scrolling the selection of a single row is not working

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

with scrollbarV enabled after scrolling the selection of a single row is not working on the rows which are apperaring in viewport after scroll actuall if there is a scroll again the selection happens

Expected behavior

row should be selected

Reproduction of the problem

issue is triggered in @swimlane\ngx-datatable\release\components\body\body.component.js -> DataTableBodyComponent.prototype.updateRows -> this.cd.detectChanges();

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

after scrolling i want to select a row Please tell us about your environment:

nginx gulp debian

  • Table version: 11.1.7
  • Angular version: 4.4.6
  • 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 ]

Chrome 64.0.3282.119

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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:6
  • Comments:8

github_iconTop GitHub Comments

1reaction
DeniseCPcommented, Sep 26, 2018

I am using 11.2.0 and I am still facing the same issue. Is there an ETA to solve this?

0reactions
Mojo1commented, Oct 4, 2019

Hey Hi mrtbyram,

as you are writing this i want to hint you to another workaround we found for this kind of issues with the table which are present on more than one place :

this.datatable.recalculate();
this.datatable['cd'].detectChanges();

not nice but doable 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

ngx datatable vertical scroll with rowheight set to auto
I was wondering if it is possible to use vertical scrolling together with automatic row height. This means that if the text insde...
Read more >
-webkit-overflow-scrolling - CSS: Cascading Style Sheets | MDN
The -webkit-overflow-scrolling CSS property controls whether or not touch devices use momentum-based scrolling for a given element.
Read more >
Virtual Scrolling - Kendo UI for jQuery - Documentation
k-scrollbar which affects scenarios when the data rows have to be manually scrolled to a particular position. <div class="k-widget k ...
Read more >
Known Issues and Limitations (igGrid) - Ignite UI
When selecting row /cell of the igGrid while continuous virtualization is enabled, the grid scrolls down and a different row/cell is selected due...
Read more >
Is Your Excel Scroll Bar Missing? 4 Easy Ways to Fix It
This may automatically hide or shrink the scrollbar. How to Troubleshoot the Excel Scroll Bar Missing Issue? Depending on the cause of the...
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