revolist / revogrid

Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
https://rv-grid.com
MIT License
2.68k stars 166 forks source link

Column update with pin/unpin leads to incorrect view port size recalculation #352

Closed revolist closed 1 year ago

revolist commented 1 year ago

When we do often column update and we set different column dimension application we noticed that incorrect virtual size is appearing which lead to blank spaces at the right edge for some specific cases.

This was happening because of @Watch('columns') columnChanged(newVal: RevoGrid.ColumnDataSchema[] = []) was triggering setViewPortCoordinate with old virtual size, but we need to wait for the new size appear on resize observer.

revolist commented 1 year ago

Fixed in 4.2.0-next.5