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

fix: use absolute positioning over transform #1850

Merged
merged 1 commit into from
Aug 30, 2020
Merged

Conversation

nolanlawson
Copy link
Owner

This fixes an issue in Firefox (on Ubuntu anyway) where it doesn't always draw the border between virtual list items. Also in terms of performance it should be roughly the same; my quick testing doesn't uncover any big difference in perf between the two, at least according to Chrome. We're not animating the property, so I don't think we need to use transform.

Before and after in Firefox:

Screenshot from 2020-08-29 15-55-14

Screenshot from 2020-08-29 15-55-24

@nolanlawson nolanlawson merged commit 55b9c8d into master Aug 30, 2020
alice-werefox pushed a commit to alice-werefox/sema-werefox-cafe that referenced this pull request Apr 3, 2023
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.

1 participant