Skip to content

Commit

Permalink
fix(select): upgrade tanstack react-virtual to latest
Browse files Browse the repository at this point in the history
Upgrades `@tanstack/react-virtual` to 3.10.8

fix #6978
  • Loading branch information
edleeks87 committed Oct 3, 2024
1 parent f474823 commit 646044f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"@floating-ui/react-dom": "~1.3.0",
"@octokit/rest": "^18.12.0",
"@styled-system/prop-types": "^5.1.5",
"@tanstack/react-virtual": "^3.0.0-beta.68",
"@tanstack/react-virtual": "^3.10.8",
"@types/styled-system": "^5.1.22",
"chalk": "^4.1.2",
"ci-info": "^3.8.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/select/simple-select/simple-select.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ describe("SimpleSelect", () => {
});

describe("and the focus triggered by mouseDown", () => {
it("then that prop should not be called", () => {
it("then that prop should not be called more than once", () => {
simulateSelectTextboxEvent(wrapper, "mousedown");
simulateSelectTextboxEvent(wrapper, "focus");
expect(onOpenFn).not.toHaveBeenCalled();
expect(onOpenFn).toHaveBeenCalledTimes(1);
});
});
});
Expand Down

0 comments on commit 646044f

Please sign in to comment.