Skip to content

Commit

Permalink
Fix bug of getRowFromPosition function when groupComponent exists. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lstgithub578 authored Mar 11, 2024
1 parent 0f01110 commit 5768f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core/RowManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class RowManager extends CoreFeature{

getRowFromPosition(position){
return this.getDisplayRows().find((row) => {
return row.getPosition() === position && row.isDisplayed();
return row.type === "row" && row.getPosition() === position && row.isDisplayed();
});
}

Expand Down

0 comments on commit 5768f11

Please sign in to comment.