Skip to content

Commit

Permalink
Fixed an issue where cell background color is removed when copied in …
Browse files Browse the repository at this point in the history
…query tool data output grid. #8273
  • Loading branch information
adityatoshniwal committed Jan 9, 2025
1 parent de6fbe7 commit a9974b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"react-arborist": "^3.2.0",
"react-aspen": "^1.1.0",
"react-checkbox-tree": "^1.7.2",
"react-data-grid": "https://github.com/pgadmin-org/react-data-grid.git#rebase-01-Jan-2025",
"react-data-grid": "https://github.com/pgadmin-org/react-data-grid.git#3dfc2ca01a046d55c1c7a45392dcec104815dc76",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion web/pgadmin/static/js/components/PgReactDataGrid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const StyledReactDataGrid = styled(ReactDataGrid)(({theme})=>({
height: '100%',
},
'&.rdg-cell-copied[aria-selected=false][role="gridcell"]': {
backgroundColor: 'unset',
backgroundColor: 'inherit',
}
},
'& .rdg-header-row .rdg-cell': {
Expand Down
4 changes: 2 additions & 2 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12858,7 +12858,7 @@ __metadata:
languageName: node
linkType: hard

"react-data-grid@https://github.com/pgadmin-org/react-data-grid.git#rebase-01-Jan-2025":
"react-data-grid@https://github.com/pgadmin-org/react-data-grid.git#3dfc2ca01a046d55c1c7a45392dcec104815dc76":
version: 7.0.0-beta.47
resolution: "react-data-grid@https://github.com/pgadmin-org/react-data-grid.git#commit=3dfc2ca01a046d55c1c7a45392dcec104815dc76"
dependencies:
Expand Down Expand Up @@ -13666,7 +13666,7 @@ __metadata:
react-arborist: ^3.2.0
react-aspen: ^1.1.0
react-checkbox-tree: ^1.7.2
react-data-grid: "https://github.com/pgadmin-org/react-data-grid.git#rebase-01-Jan-2025"
react-data-grid: "https://github.com/pgadmin-org/react-data-grid.git#3dfc2ca01a046d55c1c7a45392dcec104815dc76"
react-dnd: ^16.0.1
react-dnd-html5-backend: ^16.0.1
react-dom: ^18.2.0
Expand Down

0 comments on commit a9974b4

Please sign in to comment.