-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
useDebounce is wrong #5490
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Comments
github-actions
bot
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 1, 2023
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 1, 2023
melloware
added a commit
that referenced
this issue
Dec 1, 2023
melloware
added a commit
to melloware/primereact
that referenced
this issue
Jan 9, 2024
melloware
added a commit
that referenced
this issue
Jan 9, 2024
* Fix #5485: Messages restore close animation * Fix #5490: useDebounce fixed * Fix #5492: Listbox passthrough fixes * Fix #5493: Multiselect passthrough fixes * Fix #5485: Messages restore close animation * Fix #5499: Autocomplete/Chips PT fixes * Fix #5479: CascadeSelect PT fixes * Fix #5509: Button loadingIcon Tailwind fix * Fix #5512: Dropdown add tabindex for Tailwind * Support roundingMode for InputNumber * Fix #5523: BlockUI return activeElement focus * Fix #5530: Chip onRemove event pass value * DataTable:converted to data- lookups instead of className lookups * Fix #5543: OverlayPanel Tailwind close icon * Fix #5546: prop type error in console * Fix #5555: BodyCell frozen issue * Fix #5561: Inplace respect active prop * Fix #5568: MultiSelect filterInput PT * Fix #5572: Multselect selectAllLabel was being added to DOM * Tooltip fix Tailwind CSS * Dialog Breakpoints * Calendar disabled date handling * Fix #5609: ToggleButton focusedState * Fix #5610: Radio/Checkbox always fire onClick * fix: #5613, TreeSelect: TreeSelect component is not supporting tooltips and is an issue in multiple select mode * Fix #5623 - Otherprops not working for InputSwitch * fix:Calendar not showing correctly in Table * fix:Image preview zoom in bug * Fix #5637: Sidebar aria-label close * Accept array as PT value * Datatable breakpoints * fix:ConfirmDialog: acceptButton's pt don't respect button
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in https://github.com/orgs/primefaces/discussions/592
Originally posted by zampoukos December 1, 2023
useDebounce should wait for a time lets say 400ms before updating the value from the last change, not the first one.
In this example if you hold down a key, the debounced value changes every 400ms.
It should only be updated when 400ms pass if the user stops writing
The text was updated successfully, but these errors were encountered: