Autodesk / Autodesk/react-base-table

The scroll fit

Open
#343 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

when i use Auto Resize component;coding: const columns = generateColumns(10)
const data = generateData(columns, 10)
const newColumns = columns.map((item,index)=>{
if(index<2){
return({...item,frozen: Column.FrozenDirection.LEFT})
}
return({...item})
})

const Container = styled.div`
width: calc(50vw + 220px);
height: 50vh;
`

const Hint = styled.div`
font-size: 16px;
font-weight: 700;
color: #336699;
margin-bottom: 10px;
`

export default () => (
<>
Resize your browser and see


{({ width, height }) => (

)}



)
Adjust the size of the visual window,A row will be lost,Appears in the figure
![issue](https://user-images.githubusercontent.com/70958587/144784452-0ad5d5c2-f752-4a8d-8d75-9202394eb63f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.