Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Component] [table-v2] When using both fixed rows and fixed columns, the fixed rows in the fixed columns are not effective. #18502

Open
bauhauce opened this issue Oct 10, 2024 · 0 comments · May be fixed by #18492

Comments

@bauhauce
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.5.11
  • Element Plus Version: 2.8.4
  • Browser / OS: Chrome 129.0.6668.90 / windows11
  • Build Tool: Vite

Reproduction

Related Component

  • el-table-v2

Reproduction Link

Element Plus Playground

Steps to reproduce

<script setup lang="ts"> import { ElementPlus } from '@element-plus/icons-vue' import { version as epVersion } from 'element-plus' import { ref, version as vueVersion } from 'vue' const columns = Array.from({length: 10}).map((_, index) => ({ key: `column-${index}`, dataKey: `column-${index}`, title: `Column ${index}`, fixed: index <= 1 ? 'left' : false, width: 150 })) const list = Array.from({length: 1000}).map((_, rowIndex) => { return columns.reduce( (rowData, column, columnIndex) => { rowData[column.dataKey] = `Row ${rowIndex + 1} - Col ${columnIndex}` return rowData }, { id: `${rowIndex}`, parentId: null, } ) }) const fixedData = list.slice(0, 2) const data = list.slice(2) </script>

version: {{ epVersion}}

What is Expected?

the fixed rows in the fixed columns is effective

What is actually happening?

the fixed rows in the fixed columns are not effective.

Additional comments

(empty)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant