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

Operator list is behind the modal #3757

Merged
merged 1 commit into from Nov 2, 2023

Conversation

lanzhenw
Copy link
Contributor

@lanzhenw lanzhenw commented Nov 1, 2023

What changes are proposed in this pull request?

fix the zIndex conflict between modals.

Operator List modal uses a z-index of 1300. I set the sample modal and color modal between 1300 to fix the problem.

How is this patch tested? If it is not, please explain why.

Screenshot 2023-11-01 at 3 52 58 PM

Release Notes

Is this a user-facing change that should be mentioned in the release notes?

  • No. You can skip the rest of this section.
  • Yes. Give a description of this change to be included in the release
    notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)

What areas of FiftyOne does this PR affect?

  • App: FiftyOne application changes
  • Build: Build and test infrastructure changes
  • Core: Core fiftyone Python library changes
  • Documentation: FiftyOne documentation changes
  • Other

Copy link
Contributor

@sashankaryal sashankaryal left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -6,7 +6,7 @@ export const ModalWrapper = styled.div`
left: 0;
width: 100%;
height: 100%;
z-index: 100000000 !important;
z-index: 1000; // do not set more than 1300 (operator panel)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consider having one authoritative file that contains all z-index values. soon ™️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's talk about this offline.

@lanzhenw lanzhenw merged commit 07eb4df into develop Nov 2, 2023
12 of 13 checks passed
@lanzhenw lanzhenw deleted the fixOperatorBehindSampleModalOnHub branch November 2, 2023 14:20
@manivoxel51 manivoxel51 restored the fixOperatorBehindSampleModalOnHub branch November 2, 2023 15:57
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.

None yet

2 participants