Add disableFixedEditCells to prevent fixed css styling in edit cell
In our usage of the React grid component, when we edit a cell, we do not want the cell to remain in CSS fixed styling.
I've added a disableFixedEditCells which attempts to place the cell in an absolute position placed on top of the cell being edited.
This should fall back to sane defaults to prevent any other users from needing to enable or change fixed positioning on cells.
@jbavari Sorry, but it won't work because the CellEditor is rendered outside of Panes. It won't work on frozen panes
I'd be happy to implement a solution that covers working for frozen panes. Do you have any guidance on how/where to start to cover that case? Our team really needs the box to not be in fixed position for our application.
@jbavari I've tested it again and see that the absolute top position, which is determined by multiplying the row index (location.row.idx) by the row height, generates a couple of problems:
- A scenario where row heights have different values results in an incorrect
topposition - The edited cell overflows the sticky panes.
I will also try to come up with a solution
https://github.com/silevis/reactgrid/assets/60100557/c16005fe-9856-4e65-8f8c-c9c976325488
v5 won't have the floating editor anyway :)