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: make the sizer take no height #173

Merged
merged 3 commits into from
May 23, 2024

Conversation

florianstancioiu
Copy link
Contributor

@florianstancioiu florianstancioiu commented May 23, 2024

Fix the vertical scroll to take exactly the height of the items, not more.

Brief explanation: Virtualizer is based on the fact that virtualizer-sizer elements have a height of 2px.
When the virtualizer-sizer element has a line-height greater than 1 it adds the possibility of creating an overflow and then the vertical scroll doesn't match the height of the elements, it's bigger.

fix provided by Iulian
Copy link

github-actions bot commented May 23, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-23 08:13 UTC

@megheaiulian megheaiulian merged commit 2e3c3de into master May 23, 2024
5 checks passed
@megheaiulian megheaiulian deleted the fix/autocomplete-ui-scroll-issue branch May 23, 2024 08:13
github-actions bot pushed a commit that referenced this pull request May 23, 2024
## [8.9.1](v8.9.0...v8.9.1) (2024-05-23)

### Bug Fixes

* make the sizer take no height ([#173](#173)) ([2e3c3de](2e3c3de))
Copy link

🎉 This PR is included in version 8.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants