Skip to content

feat(theme-toggle): add sticky bottom action bar on scroll - #849

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
MJ-RWA:feat/sticky-action-bar-theme-toggle-b054
Jul 29, 2026
Merged

feat(theme-toggle): add sticky bottom action bar on scroll#849
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
MJ-RWA:feat/sticky-action-bar-theme-toggle-b054

Conversation

@MJ-RWA

@MJ-RWA MJ-RWA commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements a sticky bottom action bar for the ThemeToggle page that appears while scrolling, making primary actions easily accessible without requiring users to scroll back to the original action area.

Changes Made

  • Added a sticky bottom action bar to src/pages/ThemeToggle.tsx.
  • Configured the action bar to appear after the user scrolls beyond the primary action section.
  • Reused existing primary action handlers to avoid duplicate logic.
  • Ensured responsive behavior across mobile, tablet, and desktop layouts.
  • Applied existing design tokens for consistent light and dark mode styling.
  • Added smooth visibility transitions while respecting prefers-reduced-motion.
  • Implemented accessibility improvements, including keyboard navigation, visible focus states, semantic markup, and appropriate ARIA attributes.
  • Added focused tests covering sticky bar visibility, scroll behavior, action functionality, and accessibility.
  • Updated documentation to describe the new scrolling behavior and confirmed that there are no public API changes.

Testing

  • Added focused unit/component tests for:

    • Initial hidden state.
    • Visibility after scrolling.
    • Hiding when returning to the top.
    • Primary action functionality.
    • Accessibility attributes and keyboard interaction.
  • Verified linting and existing test suite pass.

Visible Changes

  • ThemeToggle now displays a sticky bottom action bar with primary actions while users scroll through the page, improving usability on both desktop and mobile devices.

Closes: #731

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@MJ-RWA Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me
greatest0fallt1me merged commit 8d3a0b9 into CalloraOrg:main Jul 29, 2026
3 checks passed
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Merging this one — appreciate the thorough approach!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sticky action bar on ThemeToggle while scrolling [b#054]

2 participants