fix an view jumping issue in the case that the horizontal scrollbar shifts the view too much
This commit is contained in:
parent
08eeca948b
commit
132f669e7e
1 changed files with 1 additions and 2 deletions
|
@ -50,7 +50,6 @@ export function ContentLog({ year, month }: { year: string, month: string }) {
|
|||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
|
||||
return <ContentLogContainer onMouseEnter={handleMouseEnter}>
|
||||
<TextField
|
||||
className="search"
|
||||
|
@ -69,7 +68,7 @@ export function ContentLog({ year, month }: { year: string, month: string }) {
|
|||
<List
|
||||
className="list"
|
||||
height={600}
|
||||
itemCount={logs.length}
|
||||
itemCount={logs.length - 1}
|
||||
itemSize={20}
|
||||
width={"100%"}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue