Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1783 header active while modal active #1794

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

traycn
Copy link
Member

@traycn traycn commented Aug 19, 2024

Fixes #1783

Info

Display the Header (navbar) while a modal is active.

Update: Added Footer visibility using the same zIndex value.

Changes Made

Updated the Header component with a z-index value that is higher than the modal z-index.

  • Added position: 'relative' and zIndex: 1400 to Header (AppBar MUI).
    -- Value is defined based on MUI component zIndex hierarchy.

Screenshot of UI change:

Loading Modal Visible Header/Footer
onload

Acknowledge Modal Visible Header/Footer
modal

Resources:
https://mui.com/material-ui/customization/z-index/

Pre-merge Checklist

  • Up to date with main branch
  • Branch name follows guidelines
  • All PR Status checks are successful
  • Peer reviewed and approved

@traycn traycn requested a review from ryanfchase August 19, 2024 18:46
@traycn traycn self-assigned this Aug 19, 2024
@funbunch funbunch requested review from funbunch and removed request for funbunch August 19, 2024 23:39
@funbunch
Copy link
Contributor

Hi @traycn, I was able to checkout the branch and it all looks good and working like the above screenshot for me!

@traycn traycn requested review from funbunch and removed request for ryanfchase August 20, 2024 02:38
Copy link
Contributor

@funbunch funbunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good with the zindex changes and is working as expected for me.

@traycn traycn merged commit 1198000 into main Aug 20, 2024
@traycn traycn deleted the 1783-header-active-while-modal-active branch August 20, 2024 03:05
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.

Header should still be clickable while the loading modal is active
2 participants