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

How Comes Menulist is blurry on open?? #722

Closed
maxwaiyaki opened this issue May 16, 2020 · 5 comments
Closed

How Comes Menulist is blurry on open?? #722

maxwaiyaki opened this issue May 16, 2020 · 5 comments
Labels
workaround available ✌️ Issue has quick hack or walk-around

Comments

@maxwaiyaki
Copy link

Describe the bug
Blurry MenuList

Expected Behavior
MenuList should be blurry

To Reproduce
Open the example MenuList on the docs

Desktop (please complete the following information):

  • OS: [Windows 10 ]
  • Browser [chrome and firefox]
@segunadebayo
Copy link
Member

Hi @maxwaiyaki, this issue isn't clear to me.

Can you explain a bit more? If you can show a Codesandbox as well, that would be better.

@maxwaiyaki
Copy link
Author

maxwaiyaki commented May 16, 2020

I'm not sure whether this is just a subjective performance case on my side but, popovers (which constitute the Menu Component, specifically the MenuList) seem to be blurred when open. Tooltips are also showing the same behavior.

This behavior is replicable by opening any of the Menu , Popover and Tooltip examples in the Chakra UI Docs.

Menu List
Annotation 2020-05-16 144302

Popover
Annotation 2020-05-16 144350
**

Seems to be a problem affecting other UI libraries using popover.js

  1. [v4] Popovers looked blurred. twbs/bootstrap#22610
  2. tooltip.js blurry tooltip text floating-ui/floating-ui#709

@maxwaiyaki
Copy link
Author

maxwaiyaki commented May 16, 2020

I have been able to fix the problem by passing the following props to <MenuList />, Tooltip /> and <PopoverContent />

modifiers={{
  computeStyle: {
    gpuAcceleration: false
  }
}}

Reactstrap Solution reactstrap/reactstrap#1303 (comment)

@segunadebayo
Copy link
Member

That's really weird.

Thank you for taking the time to find a solution.

@segunadebayo segunadebayo added the workaround available ✌️ Issue has quick hack or walk-around label May 16, 2020
@quang-m-nguyen
Copy link

I have been able to fix the problem by passing the following props to <MenuList />, Tooltip /> and <PopoverContent />

modifiers={{
  computeStyle: {
    gpuAcceleration: false
  }
}}

Reactstrap Solution reactstrap/reactstrap#1303 (comment)

i love you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workaround available ✌️ Issue has quick hack or walk-around
Projects
None yet
Development

No branches or pull requests

3 participants