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: Multiselect & Autocomplete(#16708 & #16727) - Scroller panel height bug #16808

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mark7p
Copy link
Contributor

@mark7p mark7p commented Nov 21, 2024

Resolves #16708, resolves #16727

Problem: onResize() is triggered first before calculateAutoSize(). While onResize() sets the height and width of scroller, it's job is not to calculate and update the height/width but to just identify if update is needed. The proper calculations actually happens in calculateAutoSize().

Solution: Transferred the height/width update job to calculateAutoSize() to eliminate errors in height/width updates.

Copy link

vercel bot commented Nov 21, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2024 1:12pm

Copy link

vercel bot commented Nov 21, 2024

@mark7p is attempting to deploy a commit to the primetek Team on Vercel.

A member of the Team first needs to authorize it.

@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component: AutoComplete with virtual scroll Component: MultiSelect with virtual scroll
2 participants