Skip to content

Commit c06f60c

Browse files
committed
fix: resolve grid popup clipping to grid dimensions
1 parent 121c2fe commit c06f60c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/FolderStructureGrid.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ export const FolderStructureGrid: React.FC = () => {
172172
gridOptions={gridOptions.current}
173173
onGridReady={onGridReady}
174174
reactUi={true}
175+
popupParent={document.querySelector('body') || undefined}
175176
></AgGridReact>
176177
</div>
177178
);

src/components/MusicGrid.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ const MusicGrid: React.FC<{
344344
onModelUpdated={onModelUpdated}
345345
onGridReady={onGridReady}
346346
reactUi={true}
347+
popupParent={document.querySelector('body') || undefined}
347348
context={gridContext}
348349
></AgGridReact>
349350
</div>

0 commit comments

Comments
 (0)