Skip to content

Commit

Permalink
Started refactoring the active path
Browse files Browse the repository at this point in the history
  • Loading branch information
underfisk committed Oct 16, 2020
1 parent c0ef058 commit b078e69
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 214 deletions.
2 changes: 2 additions & 0 deletions src/columnGrid/ColumnGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const useStyles = makeStyles(() => ({
position: 'sticky !important' as any,
top: 0,
zIndex: 1,
// overflow: 'hidden',
'scrollbar-width': 'none',
'&::-webkit-scrollbar': {
display: 'none',
Expand Down Expand Up @@ -263,6 +264,7 @@ export const ColumnGrid = React.memo(
columnWidth={props.getColumnWidth}
height={100} //Its going to be ignored due to autoHeight
autoHeight
scrollLeft={props.scrollLeft}
/>
)
}),
Expand Down
2 changes: 1 addition & 1 deletion src/columnGrid/column-grid-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ColumnGridProps {
getColumnWidth: ({ index }: { index: number }) => number

width: number
// scrollLeft: number
scrollLeft: number
// isScrolling: boolean
theme?: GridTheme
coords: NavigationCoords
Expand Down
Loading

0 comments on commit b078e69

Please sign in to comment.