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

correctly count the syncCalculationLimit in autoRowSize #5530

Merged
merged 2 commits into from
Oct 26, 2018

Conversation

pnowak
Copy link
Contributor

@pnowak pnowak commented Oct 19, 2018

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

  1. getSyncCalculationLimit method returns the wrong number of rows in autoRowSize plugin #5527

Checklist:

  • My code follows the code style of this project,
  • My change requires a change to the documentation.

@pnowak pnowak requested a review from budnix October 19, 2018 11:05
@pnowak pnowak modified the milestone: November 2018 Oct 19, 2018
@@ -478,4 +478,19 @@ describe('AutoRowSize', () => {

expect(rowHeight(spec().$container, -1)).toBe(75);
});

it('should properly count height', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this test doesn't cover this bug correctly. When I attached the older version of the handsontable to this test it passes, should fail. Can you check that?

@budnix budnix assigned pnowak and unassigned budnix Oct 23, 2018
@pnowak pnowak assigned budnix and unassigned pnowak Oct 26, 2018
@budnix budnix assigned pnowak and unassigned budnix Oct 26, 2018
@pnowak pnowak merged commit 5599865 into develop Oct 26, 2018
@pnowak pnowak deleted the feature/issue-5527 branch October 26, 2018 10:30
budnix added a commit that referenced this pull request Oct 31, 2018
Fixes several issues such as:
 * syncCalculationLimit for AutoRowSize plugin which can cause undesired
   results after #5530 fixes;
 * syncCalculationLimit for AutoColumnSize plugin which broken dropdown
   menu for filters (previously fixed in #5508);
 * Add an attribute to TD element generated by GhostTable which creates an
   ability to skip renderers' logic when the Handsontable calculates the
   columns' width.
budnix added a commit that referenced this pull request Oct 31, 2018
Fixes several issues such as:
 * syncCalculationLimit for AutoRowSize plugin which can cause undesired
   results after #5530 fixes;
 * syncCalculationLimit for AutoColumnSize plugin which broken dropdown
   menu for filters (previously fixed in #5508);
 * Add an attribute to TD element generated by GhostTable which creates an
   ability to skip renderers' logic when the Handsontable calculates the
   columns' width.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants