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(CanlendarPicker): component freezes when the time interval is too… #6766

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
"rc-util": "^5.38.1",
"react-fast-compare": "^3.2.2",
"react-is": "^18.2.0",
"react-virtualized-auto-sizer": "^1.0.24",
"react-window": "^1.8.10",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看看能否使用 rc-virtual-list?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外,package lock 文件删一下

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外,package lock 文件删一下

好的收到 我尝试下 rc-virtual-list

"runes2": "^1.1.2",
"staged-components": "^1.1.3",
"tslib": "^2.5.0",
Expand Down Expand Up @@ -106,6 +108,7 @@
"@types/react-helmet": "^6.1.6",
"@types/react-is": "^17.0.3",
"@types/react-virtualized": "^9.21.21",
"@types/react-window": "^1.8.8",
"@types/resize-observer-browser": "^0.1.7",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/use-sync-external-store": "^0.0.3",
Expand Down
7 changes: 7 additions & 0 deletions src/components/calendar-picker-view/calendar-picker-view.less
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,11 @@
text-align: center;
}
}

&-no-scrollbar {
scrollbar-width: none; /* firefox */
-ms-overflow-style: none; /* IE 10+ */
overflow-x: hidden;
overflow-y: auto;
}
}
Loading
Loading