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

[Select] Virtual Scroll List Items Jumping Issue #7033

Open
1 of 4 tasks
abhishek-junghare opened this issue Dec 31, 2024 · 1 comment
Open
1 of 4 tasks

[Select] Virtual Scroll List Items Jumping Issue #7033

abhishek-junghare opened this issue Dec 31, 2024 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@abhishek-junghare
Copy link

Describe the bug

I am using a Select component with Virtual Scroll enabled. Whenever I scroll down, the list items jump. It seems this happens because new items are being loaded dynamically, causing shifts in the list layout.

In the attached video, I am using middle-click scrolling for demonstration, but the issue is the same when using the mouse scroll-wheel as well.

Video Recording:

VirtualScroll.Layout.Shifting.Issue.mp4

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-ny5vx51n?file=src%2FApp.vue

Environment

Vue version

3

PrimeVue version

4

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to StackBlitz template
  2. Open the Dropdown
  3. Try scrolling down
  4. The layout jumps are better visible if you middle-click the mouse wheel and move the mouse down to scroll

Expected behavior

It shouldn't jump like that.

@abhishek-junghare abhishek-junghare added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 31, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 6, 2025
@mertsincan mertsincan added this to the Future milestone Jan 6, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 6, 2025
Copy link

github-actions bot commented Jan 6, 2025

Due to PrimeTek's demanding roadmap for PrimeVue and the limited bandwidth of the core team, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

2 participants