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: auto-resize with autoHeight should use all grid section heights #1842

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

ghiscoding
Copy link
Owner

  • problem detected in Slickgrid-Vue, for unknown reason the autoResize.autoHeight wasn't calculating the height correctly on the initial load because the grid is not always available at that time. Subscribing to grid.onAutosizeColumns event seems like the best option, I also tried grid.onRendered but that event was triggered too early and too many times.

Copy link

stackblitz bot commented Feb 12, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.0%. Comparing base (d95fbc2) to head (1225c5a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1842   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         187      187           
  Lines       34482    34485    +3     
  Branches    10254    10255    +1     
=======================================
+ Hits        34456    34459    +3     
  Misses         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit 3feef30 into master Feb 12, 2025
7 checks passed
@ghiscoding ghiscoding deleted the bugfix/auto-resize-recalc-height branch February 12, 2025 02:33
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