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 for #10 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix for #10 #18

wants to merge 1 commit into from

Conversation

pichutan
Copy link

I've created a potential fix for the Issue #10.

The problem here was that the original implementation didn't really take the sort into account, how it should have to be. Therefore the minBound wasn't checked accordingly.

With my fix the minWidth is calculated with the Before/After Elements, but also has your previous fallback with a straight "+20".

Additionally to this:

There was a problem with multiple header-rows. Since we resize only the first one, I think this one will define the width. Instead of only resizing the dragged header-cell I resize now all cells within that column, to prevent any cell others than the first to interfere with the calculation of the minimum width.

If you have questions, don't hesitate! :)

@svestu
Copy link

svestu commented Feb 2, 2023

+1

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.

2 participants