Skip to content

Commit

Permalink
fix: the flickering images in group headers when scrolling the grid (#…
Browse files Browse the repository at this point in the history
…1156)

* fix: the flickering images in group headers when scrolling the grid

* chore: supplementary i18n
  • Loading branch information
Sky-FE authored Dec 10, 2024
1 parent 6067b25 commit aeb01a7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/common-i18n/src/locales/fr/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@
"insertToolTip": "Le tri automatique est activé, l'insertion avec ordre n'est pas disponible",
"action": {
"rename": "Renommer la vue",
"duplicate": "Dupliquer la vue",
"delete": "Supprimer la vue"
},
"category": {
Expand Down
1 change: 1 addition & 0 deletions packages/common-i18n/src/locales/ja/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@
"insertToolTip": "自動並べ替えがオンになっているため、順序付き挿入は利用できません",
"action": {
"rename": "ビューの名前を変更",
"duplicate": "ビューを複製",
"delete": "ビューの削除"
},
"category": {
Expand Down
1 change: 1 addition & 0 deletions packages/common-i18n/src/locales/ru/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@
"insertToolTip": "Включена автоматическая сортировка, вставка с порядком недоступна",
"action": {
"rename": "Переименовать вид",
"duplicate": "Дублировать представление",
"delete": "Удалить вид"
},
"category": {
Expand Down
1 change: 1 addition & 0 deletions packages/common-i18n/src/locales/zh/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@
"insertToolTip": "自动排序已经打开,无法指定插入位置",
"action": {
"rename": "重命名",
"duplicate": "复制视图",
"delete": "删除视图"
},
"category": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const calcCells = (props: ILayoutDrawerProps, renderRegion: RenderRegion)
const recordId = cell.id?.split('-')[0];

if (linearRowType === LinearRowType.Group) {
const { depth, value, isCollapsed } = linearRow;
const { depth, value, isCollapsed, realIndex } = linearRow;
if (isFirstColumn) {
groupRowHeaderList.push({
x: 0.5,
Expand All @@ -201,7 +201,7 @@ export const calcCells = (props: ILayoutDrawerProps, renderRegion: RenderRegion)
width: columnWidth,
height: rowHeight,
columnIndex,
rowIndex,
rowIndex: realIndex,
depth,
theme,
value,
Expand Down

0 comments on commit aeb01a7

Please sign in to comment.