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

Autocomplete: Issue with Virtual Scroll #12568 #12619

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

hamzajazyri
Copy link
Contributor

Issue

When attempting to retrieve the height and width of our content to calculate the num items, it would sometimes return NaN when the computation failed.

Solution

To resolve this issue, I added a check to return 0 whenever the result of the computation was invalid number.

@vercel
Copy link

vercel bot commented Feb 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
primeng ⬜️ Ignored (Inspect) Feb 13, 2023 at 6:16AM (UTC)

@cetincakiroglu cetincakiroglu linked an issue Mar 31, 2023 that may be closed by this pull request
@cetincakiroglu cetincakiroglu self-requested a review March 31, 2023 09:20
@cetincakiroglu cetincakiroglu added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Mar 31, 2023
@cetincakiroglu cetincakiroglu removed the Status: Pending Review Issue or pull request is being reviewed by Core Team label Apr 25, 2023
@cetincakiroglu cetincakiroglu merged commit 22a6eb7 into primefaces:master Apr 25, 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.

Autocomplete: Issue with Virtual Scroll
2 participants