Skip to content

Commit

Permalink
fix resize cell indicator not showing when maxHeight (#703)
Browse files Browse the repository at this point in the history
* fix resize cell indicator not showing when maxHeight

* use computed componentHeight

---------

Co-authored-by: Daniela Buzatu <daniela.buzatu@crispico.com>
  • Loading branch information
daniela-mateescu and daniela-buzatu committed Nov 8, 2023
1 parent 03defee commit a48b962
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/apiData.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
*/
import columnWidths from '../selectors/columnWidths';
import shallowEqualSelector from '../helper/shallowEqualSelector';
import tableHeightsSelector from '../selectors/tableHeights';

const getApiDataSelector = () =>
shallowEqualSelector(
[
(state) => state.tableSize.height,
(state) => tableHeightsSelector(state).componentHeight,
(state) => state.elementHeights.groupHeaderHeight,
(state) => state.scrollX,
(state) => state.maxScrollX,
Expand Down

0 comments on commit a48b962

Please sign in to comment.