Skip to content

feat: implement Pure CSS Scroll-Driven Header Morphing System #82512 - #82629

Closed
Dev1822 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Dev1822:feature/scroll-driven-header-morph-82512
Closed

feat: implement Pure CSS Scroll-Driven Header Morphing System #82512#82629
Dev1822 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Dev1822:feature/scroll-driven-header-morph-82512

Conversation

@Dev1822

@Dev1822 Dev1822 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Description

Implement a scroll-driven header system where a large hero header smoothly morphs, shrinks, and docks into a compact sticky navigation bar as the page scrolls down using native CSS \�nimation-timeline: scroll(root);\ and \�nimation-range: 0px 250px;.

Fixes Issue

Closes #82512

Changes Introduced

  • Added \components/header-morph.css\ with @Keyframes headerMorph\ and @supports not (animation-timeline: scroll())\ fallback rules.
  • Registered component in \easemotion.css\ and rebuilt minified bundles (\easemotion.min.css, \docs/easemotion.min.css).
  • Added unit tests in \ ests/smoke.test.js.
  • Provided a full page demo and documentation in \submissions/examples/scroll-driven-header-morph/.

Verification


  • pm test: 5/5 test files passed (61/61 tests passed).

  • pm run lint: 0 lint errors.

  • pm run release:check: Passed.

@github-actions github-actions Bot added animation Animation effects, hover interactions, motion ideas, transitions good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions help wanted Extra attention needed level:intermediate Requires moderate project understanding type:feature New functionality or enhancement contribution documentation labels Aug 13, 2026
@SAPTARSHI-coder SAPTARSHI-coder added the invalid This doesn't seem right label Aug 13, 2026
@SAPTARSHI-coder

Copy link
Copy Markdown
Owner

🔒 Pull Request Closed: This PR has been automatically closed because it modifies files inside the docs/ directory. The docs/ folder is maintained by the core team only. Contributors must place their work exclusively inside submissions/examples/your-feature-name/. Thank you!

@SAPTARSHI-coder

Copy link
Copy Markdown
Owner

❌ PR Closed — Files Outside submissions/ Folder

@Dev1822, this PR has been automatically closed because it modifies files outside the allowed submissions/ directory:

  • components/header-morph.css
  • docs/easemotion.min.css
  • easemotion.css
  • easemotion.min.css
  • tests/smoke.test.js

What to do

Contributions must only add files inside the submissions/ folder. Please:

  1. Create a new branch
  2. Add only your submission files under submissions/examples/your-feature-name/
  3. Open a new PR

See the contribution guide for details.

— EaseMotion CSS Guard

@github-actions github-actions Bot added gssoc:invalid invalid-submission and removed gssoc:approved Approved for GSSoC contributions labels Aug 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔒 PR Closed (Unmerged). This PR was closed without being merged. No GSSoC points or credit awarded.

@SAPTARSHI-coder

Copy link
Copy Markdown
Owner

❌ Submission Validation Failed

Thank you for your contribution! However, some required files are missing or incorrect.

📋 Required Structure

submissions/your-category/your-feature-name/ (e.g., submissions/examples/ or submissions/docs/)
├── demo.html     ← Interactive demo with DOCTYPE, html, head, body tags
├── style.css     ← Your original CSS (not copy-pasted from a template)
└── README.md     ← Brief description of your feature

🔍 Issues Found:

🔠 Strict Code Integrity Protection

  • ❌ Repository rule violation: You are not allowed to change existing code. Modified existing files: docs/easemotion.min.css, easemotion.css, easemotion.min.css, tests/smoke.test.js.
  • ❌ Repository rule violation: You are not allowed to delete any code.

🔠 Core Framework Protection

  • ❌ PR modifies core framework/configuration files: components/header-morph.css, docs/easemotion.min.css, tests/smoke.test.js. Contributors may only modify files inside the submissions/ directory.

📝 How to Fix:

  1. Ensure all 3 files exist with real, original content
  2. demo.html must have <!DOCTYPE html>, <html>, <head>, <body> tags
  3. style.css must contain your own CSS (not copy-pasted boilerplate)
  4. Push fixes to this branch — the validator will re-run automatically

📖 See CONTRIBUTING.md for full guidelines.

@SAPTARSHI-coder

Copy link
Copy Markdown
Owner

🔒 Pull Request Closed

This PR was automatically closed because it failed the submission validation check.

Please fix the issues listed above, then open a new pull request. Thank you!

@github-actions

Copy link
Copy Markdown
Contributor

📊 CSS Bundle Size Benchmark

This PR changes the size of easemotion.min.css.

Metric Base Branch This PR Difference
Raw 174.09 KB 176.92 KB 📈 +2.83 KB
Gzip 28.61 KB 29.02 KB 📈 +0.41 KB
Brotli 22.66 KB 23.01 KB 📈 +0.35 KB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

animation Animation effects, hover interactions, motion ideas, transitions contribution documentation good first issue Good for newcomers gssoc:invalid GSSoC-26 Official GSSoC 2026 issue help wanted Extra attention needed invalid This doesn't seem right invalid-submission level:intermediate Requires moderate project understanding needs-files type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Pure CSS Scroll-Driven Header Morphing System

2 participants