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

bug: [Popup] goes below screen on 3.0.0-beta.2 #4508

Open
GGAlanSmithee opened this issue Dec 19, 2024 · 1 comment
Open

bug: [Popup] goes below screen on 3.0.0-beta.2 #4508

GGAlanSmithee opened this issue Dec 19, 2024 · 1 comment

Comments

@GGAlanSmithee
Copy link

Bug Report

Steps

Use a Popup in a position that goes below the screen, for example:

// Positioned somewhat far down on the page, with somewhat large (tall) content
<Popup
  wide="very"
  position="right center"
  openOnTriggerMouseEnter
  closeOnTriggerMouseLeave
  content={props.children}
  trigger={
    <GameSidebarInfoIcon />
  }
/>

Expected Result

In version 2, the popup would be positioned as instructed ("right center" in the above example), but it would never go below the screen, if possible

Actual Result

The component goes below the screen. See the screenshot below, in this case, the bottom of the screenshot is the actual bottom of the screen.

Version

3.0.0-beta.2


Maybe related to #4488 but don't think so.

image

@GGAlanSmithee
Copy link
Author

here is what the whole popup content looks like (it does fit on the screen)

image

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

No branches or pull requests

1 participant