Skip to content

Conversation

@andriytereschuk
Copy link

Problem
Grid doesn't recalculate columns when props changed.

Now there is a condition that checks previous and current width. And it stops further function running.
I guess the condition was added to avoid redundant calculation when "resize" event is fired.
Well, let's validate the width only on the "resize" event.

@Sleaf
Copy link

Sleaf commented Mar 8, 2021

very helpful!

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