Skip to content

fixed footerlayout#1333

Closed
SilasYaw wants to merge 4 commits into
masterfrom
Poc-for-FixedFooterlayout
Closed

fixed footerlayout#1333
SilasYaw wants to merge 4 commits into
masterfrom
Poc-for-FixedFooterlayout

Conversation

@SilasYaw
Copy link
Copy Markdown
Contributor

@SilasYaw SilasYaw commented Mar 27, 2025

fix: dynamically handle scroll-padding-bottom for fixed footer

This PR implements the necessary changes to dynamically handle scroll-padding-bottom on the html, this ensures that the fixed footer does not block the focus of overflow element when visible.

Related: This commit is related to O2DE-6995.

@github-actions
Copy link
Copy Markdown

Size stats

master this branch diff
Total JS 12.4 MB 12.4 MB +128 B
JS without icons 2.12 MB 2.12 MB +128 B
Lib overhead 78.8 kB 78.8 kB 0 B
Lib overhead (gzip) 17.6 kB 17.6 kB 0 B

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2025

Accessibility report
✔️ No issues found

ℹ️ You can run this locally by executing yarn audit-accessibility.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2025

Deploy preview for mistica-web ready!

✅ Preview
https://mistica-hn992p1ep-flows-projects-65bb050e.vercel.app

Built with commit 3c46c5e.
This pull request is being automatically deployed with vercel-action

This commit implements the necessary changes to dynamically handle `scroll-padding-bottom` on the `html` element. This ensures that the fixed footer does not block the focus of overflow elements when visible.

Changes:
- Added a `<style>` tag to dynamically set `scroll-padding-bottom` on the `html` element based on the footer height.
- Ensured that the fixed footer height is calculated and applied declaratively.
- Updated the `FixedFooterLayout` component to handle this behavior consistently across devices.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2025

Screenshot tests report

✔️ All passing

@claramunt claramunt closed this Mar 27, 2025
@claramunt claramunt deleted the Poc-for-FixedFooterlayout branch March 27, 2025 12:12
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.

2 participants