You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user submitted this Plnk demonstrating a problem where a row wasn't resizing correctly when measure was called. The fix (shown in this Plnk) was to set the cell's style with height: 'auto' so it could grow bigger than its initial measurement.
This isn't intuitive for users. I believe it should be possible for defaultCellRangeRenderer to set width or height to "auto" automatically when CellMeasurer is being used.
The text was updated successfully, but these errors were encountered:
This feature, as described in the issue summary, would not be a good idea. Grid relies on forcing a width/height so that all cells in a given row/column share a consistent size. If we set "auto" they would all tight-fit and it would look back.
However we still need to handle the case where the measure callback is used after initial measurements. I think the thing to do might be to just-in-time set the height or width to "auto" before measuring...
A user submitted this Plnk demonstrating a problem where a row wasn't resizing correctly when
measure
was called. The fix (shown in this Plnk) was to set the cell'sstyle
withheight: 'auto'
so it could grow bigger than its initial measurement.This isn't intuitive for users. I believe it should be possible for
defaultCellRangeRenderer
to setwidth
orheight
to "auto" automatically whenCellMeasurer
is being used.The text was updated successfully, but these errors were encountered: