Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Finally fix Tooltip pixel shifting #301

Merged
merged 1 commit into from
Jan 25, 2021
Merged

Conversation

justinanastos
Copy link
Contributor

@justinanastos justinanastos commented Jan 25, 2021

I hope this will finally stop the single-pixel flipping of Tooltips, ConfirmationTooltips, and Menus. I am able to reproduce the pixel shifting post-animation reliably in storybook, this should get rid of it.

📦 Published PR as canary version: 8.11.1-canary.301.7634.0

✨ Test out this PR locally via:

npm install @apollo/space-kit@8.11.1-canary.301.7634.0
# or 
yarn add @apollo/space-kit@8.11.1-canary.301.7634.0

@justinanastos justinanastos added the bug fix Increment the patch version when merged label Jan 25, 2021
@justinanastos justinanastos enabled auto-merge (squash) January 25, 2021 20:28
@justinanastos justinanastos added the skip-release Preserve the current version when merged label Jan 25, 2021
@justinanastos justinanastos merged commit 947174c into main Jan 25, 2021
@justinanastos justinanastos deleted the justin/fix-tooltip-shifting branch January 25, 2021 20:29
Copy link
Member

@cheapsteak cheapsteak left a comment

Choose a reason for hiding this comment

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

cool
curious how this fixes it?

my understanding was that will-change primes the browser (loads the texture on the graphics card), which I wouldn't have imagined should cause a pixel shift

@justinanastos
Copy link
Contributor Author

@cheapsteak I think I was wrong; This won't negatively affect us but I don't think this, or the other attempt I sent in, will fix it. I think this is an underlying popper issue that I will continue to be super annoyed for the time being. While I want to just delete these stories; these cause problems downstream too, so I'd love to find a root cause.

@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v8.11.1 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Increment the patch version when merged released This issue/pull request has been released. skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants