gpui-component/crates/ui
chulingera2025 d4c4b9ad37
input: Avoid blocking vertical scroll events in single-line mode (#1562) (#1572)
Fixes #1562

  ## Problem
Single-line input fields were blocking all scroll wheel events,
preventing parent containers from handling vertical page scrolling.

  ## Solution
  - Check if input is in single-line mode and scroll is purely vertical
  - Allow vertical scroll events to propagate in single-line mode
  - Only stop propagation when scroll offset actually changes

  ## Behavior
  - Single-line inputs: vertical scroll passes through to parent
  - Multi-line inputs: all scroll behavior unchanged
  - Horizontal scrolling still works in both modes
2025-11-13 10:19:52 +08:00
..
locales dialog: Rename Modal to Dialog. (#1538) 2025-11-07 17:25:55 +08:00
src input: Avoid blocking vertical scroll events in single-line mode (#1562) (#1572) 2025-11-13 10:19:52 +08:00
tests/fixtures dialog: Rename Modal to Dialog. (#1538) 2025-11-07 17:25:55 +08:00
Cargo.toml Bump v0.4.0-preview2 2025-11-12 15:16:49 +08:00
LICENSE-APACHE chore: Hard link crates/ui/LICENSE-APACHE. 2025-11-04 17:54:14 +08:00