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

fix: adding dataset hierarchical item shouldn't cause scroll flickering #1076

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Aug 17, 2023

  • calling datasetHierarchical setter shouldn't cause scroll flickering, this was caused a call to the DataView setItems with an empty array which in terms always scroll back to top and that was meant to clear the dataset before recreating it, however this is certainly not needed since calling the datasetHierarchical setter will then trigger a new sort which will indirectly call DataView setItems anyway

- calling `datasetHierarchical` setter shouldn't cause scroll flickering, this was caused a call to the DataView `setItems` with an empty array that was meant to clear the dataset before recreating it, however this is certainly not needed since calling the `datasetHierarchical` setter will then trigger a new sort which will indirectly call DataView setItems anyway
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #1076 (d42d240) into master (07efeb6) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #1076   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          244       244           
  Lines        16564     16561    -3     
  Branches      5933      5932    -1     
=========================================
- Hits         16564     16561    -3     
Files Changed Coverage Δ
...bundle/src/components/slick-vanilla-grid-bundle.ts 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@ghiscoding ghiscoding merged commit 8536e0e into master Aug 17, 2023
@ghiscoding ghiscoding deleted the bugfix/dataset-hierarchical-flickering branch August 17, 2023 04:53
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.

1 participant