You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a page with title bar and sub-window.
In my real use case is that almost half of the viewport is available for DataGrid and I need multiple of it so it will need scrollbar.
The code below is the simplified version.
To Reproduce
Create parent 'div' with height of '100vh'
Add 'DataGrid' child with height greater than viewport to enable scrollbar
Link to code example:
<body><divstyle={{color: "white", backgroundColor: "#132132", height: "60px"}}>
Title bar
</div><divid="subWindow" style={{height: "calc(100vh - 60px)", overflow: "auto"}}>
{/* calculate reamaining viewport space (minus title bar height)*/}
{/* scroll bar should be on "subWindow" only*/}
<divstyle={{height: "500px", padding: "10px"}}><DataGridcolumns={columns}rows={rows}style={{blockSize: "100%"}}
/>
</div><br/>
<divstyle={{height: "500px", padding: "10px"}}><DataGridcolumns={columns}rows={rows}style={{blockSize: "100%"}}
/>
</div></div></body>
Expected behavior
It works fine on Firefox.
Only happens when the parent/grandparent's scrollbar is visible
Environment
react-data-grid version: 7.0.0-beta.36
react/react-dom version: 18.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
DataGrid's scrollbar is not dragable.
I'm working on a page with title bar and sub-window.
In my real use case is that almost half of the viewport is available for DataGrid and I need multiple of it so it will need scrollbar.
The code below is the simplified version.
To Reproduce
Link to code example:
Expected behavior
It works fine on Firefox.
Only happens when the parent/grandparent's scrollbar is visible
Environment
react-data-grid
version: 7.0.0-beta.36react
/react-dom
version: 18.2.0The text was updated successfully, but these errors were encountered: