add autoHeightCondition example