Skip to content

Conversation

@sergey-spivakov
Copy link
Contributor

When there are 4 row of grid items and more. There are bug of updates styles.
The function does not take into account all nodes, but only those that have been changed (_dirty).
In this regard, the styles for the lower layers do not sink, and they rise upward.
The solution is to calculate the maxHeight for all nodes.

Bug example - https://youtu.be/1bZQIaZqVLQ

When there are 4 row of grid items and more. There are bug of updates styles. 
The function does not take into account all nodes, but only those that have been changed (_dirty).
In this regard, the styles for the lower layers do not sink, and they rise upward.
The solution is to calculate the maxHeight for all nodes.
forgot the bracket close
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 69.619% when pulling 6ae9378 on sergey-spivakov:develop into 57c6511 on gridstack:develop.

@troolee troolee merged commit ba681fc into gridstack:develop Feb 8, 2018
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.

3 participants