xh / hoist-react

🏗️ ⚛️ The XH Hoist toolkit for React
https://xh.io
Apache License 2.0
23 stars 8 forks source link

`DataViewModel.showHover: false` not respected #3689

Open amcclain opened 1 month ago

amcclain commented 1 month ago

You can see this in our Toolbox example - https://toolbox-dev.xh.io/app/grids/dataview. We don't have switches on this example to turn on/off row hover highlights, but it is off by default and we're still getting the highlight.

You can inspect the dataview grid element to verify - it has the .xh-ag-grid--no-hover class applied.

Interestingly, standard grids appear to work OK.

amcclain commented 1 month ago

Note that we might want to start taking advantage of AG CSS vars.... I was able to supress this in an app with the following:

  .xh-data-view .xh-ag-grid--no-hover {
    --ag-row-hover-color: inherit;
  }
amcclain commented 3 weeks ago

Related to #3329