Skip to content

feat(sidebar): add elastic drawer panel animation#1238

Merged
SAPTARSHI-coder merged 1 commit into
SAPTARSHI-coder:mainfrom
SreeyaKumari:feature-elastic-drawer-panel
Jun 4, 2026
Merged

feat(sidebar): add elastic drawer panel animation#1238
SAPTARSHI-coder merged 1 commit into
SAPTARSHI-coder:mainfrom
SreeyaKumari:feature-elastic-drawer-panel

Conversation

@SreeyaKumari
Copy link
Copy Markdown

@SreeyaKumari SreeyaKumari commented Jun 4, 2026

Pull Request Description

Implemented an elastic drawer panel animation for the sidebar component on mobile devices.

Changes

  • Added spring-like drawer slide-in animation using cubic-bezier easing
  • Added shadow effect for visual depth when the drawer is active
  • Added main content translate + scale-down effect when the sidebar opens
  • Improved transition behavior for smoother user interactions
  • Preserved reduced-motion accessibility support

This addresses the feature request described in Issue #426.


Type of Change

  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)

Submission Checklist

  • All changes are inside submissions/examples/your-feature-name/
  • Includes demo.html — self-contained, opens in browser with no server
  • Includes style.css — raw CSS for the proposed feature
  • Includes README.md — what it does, how to use it, why it fits EaseMotion CSS
  • No changes to core/
  • No changes to components/
  • One feature per PR (no bundled unrelated changes)

fixes #426

Feature Description

Added an elastic drawer panel animation and main body scale-down effect for the sidebar component on mobile devices.

How does a developer use it?

<div class="ease-sidebar-layout ease-sidebar-open">
     <aside class="ease-sidebar">
         Sidebar Content 
     </aside>

     <main class="ease-sidebar-main">
          Main Content 
     </main>
</div>

Why does it fit EaseMotion CSS?
This enhancement aligns with EaseMotion CSS's animation-first philosophy by providing a smooth, natural drawer interaction using spring-like easing, depth effects, and coordinated motion between the sidebar and main content.

Demo

  • Demo added (demo.html works by opening directly in a browser)

Browser Testing

  • Chrome
  • Firefox
  • Edge
  • Safari (optional but appreciated)

Notes for Maintainer


Reminder: Only the repository maintainer may merge pull requests.
Do not self-merge, even if you have write access.
Maximum 2 active assigned issues per contributor — unassign extras before opening a PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

📊 CSS Bundle Size Benchmark

No change in CSS bundle size. ✨

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 4, 2026
@SAPTARSHI-coder SAPTARSHI-coder merged commit 346bc29 into SAPTARSHI-coder:main Jun 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Animation: Elastic Drawer Panel and Main Body Scale-Down

3 participants