gridHeightPx changed from derivedStateOf to direct computation because derivedStateOf cannot track non-State local variable changes, causing gridHeightPx to not update when rowHeightPx transitions from 0 to measured value. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>