Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Oct 21, 2023
1 parent b993e28 commit 12edf47
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/react/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export const ListItem = memo(
[isHorizontal ? (isRTLDocument() ? "right" : "left") : "top"]:
offset,
visibility: hide ? "hidden" : "visible",
// willChange: "transform",
};
if (isHorizontal) {
style.display = "flex";
Expand Down
3 changes: 0 additions & 3 deletions src/react/VGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,6 @@ export const VGrid = forwardRef<VGridHandle, VGridProps>(
style: {
overflow: "auto",
contain: "strict",
// transform: "translate3d(0px, 0px, 0px)",
// willChange: "scroll-position",
// backfaceVisibility: "hidden",
width: "100%",
height: "100%",
...viewportAttrs.style,
Expand Down
5 changes: 0 additions & 5 deletions src/react/VList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,6 @@ export const VList = forwardRef<VListHandle, VListProps>(
overflow: "auto",
display: isHorizontal ? "inline-block" : "block",
contain: "strict",
// transform: "translate3d(0px, 0px, 0px)",
// willChange: "scroll-position",
// backfaceVisibility: "hidden",
// https://github.com/bvaughn/react-window/issues/395
// willChange: "transform",
width: "100%",
height: "100%",
...viewportAttrs.style,
Expand Down
5 changes: 0 additions & 5 deletions src/react/WVList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ export const WVList = forwardRef<WVListHandle, WVListProps>(
...viewportAttrs,
style: {
display: isHorizontal ? "inline-block" : "block",
// transform: "translate3d(0px, 0px, 0px)",
// willChange: "scroll-position",
// backfaceVisibility: "hidden",
// https://github.com/bvaughn/react-window/issues/395
// willChange: "transform",
width: isHorizontal ? "auto" : "100%",
height: isHorizontal ? "100%" : "auto",
...viewportAttrs.style,
Expand Down

0 comments on commit 12edf47

Please sign in to comment.