Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix(Popper): disable gpuAcceleration#2067

Merged
miroslavstastny merged 5 commits intomasterfrom
fix/popper-disable-gpu-acceleration
Oct 30, 2019
Merged

fix(Popper): disable gpuAcceleration#2067
miroslavstastny merged 5 commits intomasterfrom
fix/popper-disable-gpu-acceleration

Conversation

@jurokapsiar
Copy link
Contributor

Popper is using transform to position the content. In some cases (most probably when coordinates are not even numbers) this might cause the content to become blurry in chromium browsers. This PR disables GPU acceleration, which means using left and top props to be used instead of transform.

See also floating-ui/floating-ui#682

@miroslavstastny miroslavstastny merged commit ec89266 into master Oct 30, 2019
@miroslavstastny miroslavstastny deleted the fix/popper-disable-gpu-acceleration branch October 30, 2019 08:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants