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

Table: onSelect value is duplicated when using subComponent with 3.15.5 #2314

Closed
1 task done
veekeys opened this issue Oct 24, 2024 · 1 comment · Fixed by #2317
Closed
1 task done

Table: onSelect value is duplicated when using subComponent with 3.15.5 #2314

veekeys opened this issue Oct 24, 2024 · 1 comment · Fixed by #2317
Assignees
Labels
bug Something isn't working

Comments

@veekeys
Copy link
Member

veekeys commented Oct 24, 2024

Describe the bug (current behavior)

Seems latest release has broken down onSelect callback as its giving duplicated same value on simple selection.
Here is repro. Check console log giving duplicated value when selecting a row.
Image

Expected Behavior

onSelect giving correct value

Link to minimal repro

https://stackblitz.com/edit/github-6vfacf-d3rg1m?file=src%2FApp.tsx

Steps To Reproduce

  1. Select a row
  2. Check console log for given value

Package Version

  • I'm using the latest version of iTwinUI.

Anything else?

No response

@smmr-dn
Copy link
Contributor

smmr-dn commented Nov 20, 2024

This now has been fixed in 3.16.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants