LearnNewsExamplesServices
Frontmatter
id8638
titleStrict Vertical Clamping for Header Waves
stateClosed
labels
enhancementdesignai
assigneestobiu
createdAtJan 14, 2026, 5:52 PM
updatedAtJan 14, 2026, 6:06 PM
githubUrlhttps://github.com/neomjs/neo/issues/8638
authortobiu
commentsCount1
parentIssue8630
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 14, 2026, 6:06 PM

Strict Vertical Clamping for Header Waves

Closed v11.22.0 enhancementdesignai
tobiu
tobiu commented on Jan 14, 2026, 5:52 PM

Strictly constrain the vertical amplitude of the "Split Stream" effect to ensure it never touches or overflows the toolbar edges, even when diverting around buttons.

Analysis: The current targetOffset calculation uses the button's full half-height plus padding, which, when combined with the base sine wave and noise, exceeds the available vertical space (60px toolbar height).

Solution:

  1. Define a strict verticalPadding (e.g., 10px).
  2. Dynamically cap the targetOffset (diversion amount) based on the available space (height/2 - padding - baseAmplitude).
  3. Ensure that even with maximum noise/hover effect, the lines remain within bounds.
tobiu added the enhancement label on Jan 14, 2026, 5:52 PM
tobiu added the design label on Jan 14, 2026, 5:52 PM
tobiu added the ai label on Jan 14, 2026, 5:52 PM
tobiu assigned to @tobiu on Jan 14, 2026, 5:53 PM
tobiu added parent issue #8630 on Jan 14, 2026, 5:53 PM
tobiu cross-referenced by #8637 on Jan 14, 2026, 5:54 PM
tobiu cross-referenced by #8636 on Jan 14, 2026, 5:55 PM
tobiu referenced in commit 2fbad4c - "style: implement strict vertical clamping for header waves (#8638)" on Jan 14, 2026, 6:05 PM
tobiu
tobiu Jan 14, 2026, 6:05 PM

Input from Gemini 3 Pro:

✦ I have implemented the strict vertical clamping with a padding of 10px, as requested. This ensures the wave amplitude (including the button diversions) never exceeds height/2 - 10px, preventing overflow while maintaining visibility.

tobiu closed this issue on Jan 14, 2026, 6:06 PM