The GitHub Actions job "Tests" on airflow.git/bugfix/log-text-selection has succeeded. Run started by GitHub user dheerajturaga (triggered by dheerajturaga).
Head commit for run: de8f111a9c6e0350a773004755eb5d322ef5618e / Dheeraj Turaga <[email protected]> Fix log view vanishing when text wrap is enabled When toggling text wrap on in the logs pane, all log content would disappear. This was caused by three issues: 1. CSS textWrap property was set to pre instead of pre-wrap, which preserves whitespace but does not wrap text 2. Virtualizer was not remeasuring items when wrap toggled, causing items to be positioned with cached single-line heights even when text became multi-line 3. Width constraints conflicted - items need to be constrained to 100% when wrapped (to force wrapping) but max-content when unwrapped (to allow horizontal scrolling) Changes: - Change textWrap from pre to pre-wrap when wrap is enabled - Add useLayoutEffect to force virtualizer remeasurement on wrap toggle - Add width=100% to VStack to provide proper width reference - Set item width conditionally: 100% when wrapped, max-content when not - Keep minWidth=100% always for text selection in empty areas Report URL: https://github.com/apache/airflow/actions/runs/18822965173 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
