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

3135: Fix tooltip being half hidden on language change hover #3140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lunars97
Copy link
Contributor

@lunars97 lunars97 commented Mar 5, 2025

Short Description

Tooltip is being half hidden when a user hovers over Change Language button in big width view.

Proposed Changes

  • Set higher z-index to Tooltip

Side Effects

  • none

Testing

Hover over Change Language button in web and see that the language selector container covers the half of the tooltip

Resolved Issues

Fixes: #3135


Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

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

Looks quite good. just one hint

@@ -3,7 +3,7 @@ import { Tooltip as ReactTooltip, ITooltip as ReactTooltipType } from 'react-too
import styled from 'styled-components'

const StyledTooltip = styled(ReactTooltip)`
z-index: 1;
z-index: 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

i would rather tend to use a higher z-index. We usually use 10x steps in our application.
Our first desktop view relevant component with z-index should be the modal with 100
so you can choose sth in between
Having a higher gap giving the possibility to avoid future issues if we may put sth in between (even if it will likely not happen)

@lunars97 lunars97 force-pushed the 3135-fix-tooltip-is-cut-on-language-change-hover branch from 5d3170a to 5e6f3cf Compare March 10, 2025 07:59
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.

Tooltip is not fully seen on language change hover
3 participants