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

Fix modal #486

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Fix modal #486

merged 2 commits into from
Nov 13, 2024

Conversation

samlhuillier
Copy link
Collaborator

No description provided.

@samlhuillier samlhuillier merged commit 39edb94 into main Nov 13, 2024
9 checks passed
@samlhuillier samlhuillier deleted the fix-modal branch November 13, 2024 22:19
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Version bump and modal component z-index modification to address visibility issues in the application's modal system.

  • Removed explicit z-[9999] class from modal container in src/components/Common/Modal.tsx, relying instead on natural DOM stacking context
  • Incremented version from 0.2.29 to 0.2.30 in package.json to reflect modal changes
  • Potential visibility concern: modal may be obscured by other elements with higher z-index values despite portal rendering

2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -36,7 +36,7 @@ const ReorModal: React.FC<ModalProps> = ({

const modalContent = (
<div
className={`fixed inset-0 z-[9999] flex h-screen w-screen items-center justify-center bg-black/40 ${tailwindStylesOnBackground}`}
className={`fixed inset-0 flex h-screen w-screen items-center justify-center bg-black/40 ${tailwindStylesOnBackground}`}
Copy link

Choose a reason for hiding this comment

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

logic: removing z-[9999] could cause modal to be hidden behind other elements with higher z-index values

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.

1 participant