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

Table: optimize performance #21330

Merged
merged 2 commits into from
Nov 18, 2021
Merged

Table: optimize performance #21330

merged 2 commits into from
Nov 18, 2021

Conversation

cs1707
Copy link
Contributor

@cs1707 cs1707 commented Sep 18, 2021

Please make sure these boxes are checked before submitting your PR, thank you!

Both the left fixed table and the right fixed table render full columns from the DOM. Change to render only the required columns.

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

@element-bot
Copy link
Member

element-bot commented Sep 18, 2021

✔️ Deploy Preview for element ready!

🔨 Explore the source changes: d0e12cd

🔍 Inspect the deploy log: https://app.netlify.com/sites/element/deploys/614c346778afef0007d12dfa

😎 Browse the preview: https://deploy-preview-21330--element.netlify.app/

@cs1707 cs1707 force-pushed the fix/table branch 4 times, most recently from e214f2d to aa9fe1b Compare September 23, 2021 03:40
@cs1707
Copy link
Contributor Author

cs1707 commented Sep 23, 2021

@wangdaodao
Copy link
Contributor

wangdaodao commented Nov 10, 2021

本地运行了下,发现严重bug:表格树+排序+固定列+插槽,导致固定列插槽出现展开收起图标,并且在排序后固定列高度出现错误。另外,在拖动浏览器宽度后,最后一列高度改变,整体表格行高也会计算错误。

image.png

代码

<template>
  <div>
    <el-table
      :data="tableData"
      row-key="id"
      default-expand-all
      border
      :default-sort="{prop: 'date', order: 'descending'}"
      :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
    >
      <el-table-column
        prop="date"
        label="日期"
        sortable
        fixed
        width="180"
      ></el-table-column>
      <el-table-column
        prop="name"
        label="姓名"
        sortable
        width="180"
      ></el-table-column>
      <el-table-column
        prop="address"
        label="地址"
        width="580"
      ></el-table-column>
      <el-table-column label="操作" fixed="right">
        <template slot-scope="scope">
          <el-button size="mini" @click="handleEdit(scope.$index, scope.row)">
            编辑
          </el-button>
          <el-button
            size="mini"
            type="danger"
            @click="handleDelete(scope.$index, scope.row)"
          >
            删除
          </el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
    data() {
      return {
        tableData: [{
          id: 1,
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          id: 2,
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1517 弄'
        }, {
          id: 3,
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1519 弄',
          children: [{
              id: 31,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄',
              children: [{
                id: 311,
                date: '2016-05-01',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1519 弄'
              }, {
                id: 321,
                date: '2016-05-01',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄',
                children: [{
                  id: 3111,
                  date: '2016-05-01',
                  name: '王小虎',
                  address: '上海市普陀区金沙江路 1519 弄'
                }, {
                  id: 3211,
                  date: '2016-05-01',
                  name: '王小虎',
                  address: '上海市普陀区金沙江路 1519 弄'
              }, {
                  id: 3221,
                  date: '2016-05-01',
                  name: '王小虎',
                  address: '上海市普陀区金沙江路 1519 弄',
                  children: [{
                    id: 31111,
                    date: '2016-05-01',
                    name: '王小虎',
                    address: '上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄上海市普陀区金沙江路 1519 弄'
                  }, {
                    id: 32111,
                    date: '2016-05-01',
                    name: '王小虎',
                    address: '上海市普陀区金沙江路 1519 弄'
                }, {
                    id: 32211,
                    date: '2016-05-01',
                    name: '王小虎',
                    address: '上海市普陀区金沙江路 1519 弄'
                }]
              }]
            }, {
                id: 322,
                date: '2016-05-01',
                name: '王小虎',
                address: '上海市普陀区金沙江路 1519 弄'
            }]
            }, {
              id: 32,
              date: '2016-05-01',
              name: '王小虎',
              address: '上海市普陀区金沙江路 1519 弄'
          }]
        }, {
          id: 4,
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1516 弄'
        }]
      }
    }
  }
</script>

@github-actions
Copy link

github-actions bot commented Nov 17, 2021

🎊 PR Preview has been successfully built and deployed to https://preview-pr-21330-element-ui.surge.sh

@cs1707
Copy link
Contributor Author

cs1707 commented Nov 17, 2021

@wangdaodao 感谢反馈,最新提交做了下修复。

@wangdaodao
Copy link
Contributor

@wangdaodao 感谢反馈,最新提交做了下修复。

已经验证,没有发现问题 :)

@iamkun iamkun merged commit 13d48cf into ElemeFE:dev Nov 18, 2021
@DOCjx
Copy link

DOCjx commented Nov 25, 2021

https://codepen.io/docjx/pen/dyzBXxb

列设置fixed之后高度计算会有问题,见例子

abigail-0111 pushed a commit to abigail-0111/element that referenced this pull request Dec 21, 2021
* Table: optimize performance

* Table: fix sync height
@gergulo
Copy link

gergulo commented Jan 1, 2022

https://codepen.io/gergulo/pen/XWeERRQ
使用表格,组合使用固定列、展开行时,展开后的行布局错误。

@XM2510136957
Copy link

树表格多选无法单独选中子节点问题

cn3lfs pushed a commit to cn3lfs/element that referenced this pull request Feb 24, 2022
* Table: optimize performance

* Table: fix sync height
@wuyuweixin
Copy link

更新 2.15.7 后表格列宽出现抖动

@liuqi-web
Copy link

liuqi-web commented Apr 1, 2022

data变化之后没有自动同步高度,需要手动调用doLayout()

@dyyzht
Copy link

dyyzht commented Apr 14, 2022

怀疑是不是你这版更新,导致直接给table加上class=“el-table”,然后展示出来的界面就没有样式了,无奈只能退回2.15.1是好的。兄弟能修复下吗,这个功能贼好用啊,别删了!!!

<table class="el-table ed_obisity"> <thead> <th class="thOne">序号</th> <th class="thTwo">问题</th> <th class="thThree">答案</th> </thead> <tbody> <tr> <td>1</td> <td>年龄</td> <td>{{ obisityResult.assessAge }}</td> </tr> <tr> <td>2</td> <td>性别</td> <td>{{ obisityResult.assessSex == 1 ? "男" : "女" }}</td> </tr> <tr> <td>3</td> <td>身高</td> <td>{{ obisityResult.assessHeight }}</td> </tr> <tr> <td>4</td> <td>体重</td> <td>{{ obisityResult.assessWeight }}</td> </tr> <tr> <td>5</td> <td>腰围</td> <td>{{ obisityResult.assessWaistline }}</td> </tr> <tr> <td>6</td> <td>手机号</td> <td>{{ ansBase.phone }}</td> </tr> <tr> <td>7</td> <td>证件号</td> <td>{{ ansBase.idCard }}</td> </tr> <tr> <td>8</td> <td>职业</td> <td>{{ ansBase.occupation }}</td> </tr> <tr> <td>9</td> <td>教育程度</td> <td>{{ ansBase.education }}</td> </tr> <tr> <td>10</td> <td>婚姻状况</td> <td>{{ ansBase.marriage }}</td> </tr> <tr> <td>12</td> <td>您几岁时分娩第一胎?</td> <td>{{ ansBase.childbirth }}</td> </tr> <tr> <td>13</td> <td>您是否曾哺乳?</td> <td>{{ ansBase.lactation }}</td> </tr> <tr> <td>14</td> <td>年收入</td> <td>{{ ansBase.income }}</td> </tr> <tr> <td>15</td> <td>惯用手</td> <td>{{ ansBase.hand }}</td> </tr> </tbody> </table>

tskimmett added a commit to cognitoforms/element that referenced this pull request Apr 20, 2022
* I18n: Update ar.js (ElemeFE#16653)

* Date-Picker: add className picker option (ElemeFE#16632)

* add classname

* add docs

* add test

* add range picker

* update api name

* update api name

* update test

* Fix: httprequest type (ElemeFE#16633)

* docs: Update contributing guide (ElemeFE#14800)

* Tree: Increase css weight (ElemeFE#16799)

* Test: refactor unit test to use data-uri instead (ElemeFE#16847)

* DateTimePicker: fix time-spinner not scroll to right position

* Table: prevent click handler after drag (ElemeFE#16850)

* Tab: fix tabs-item's padding cause active-bar's width and transform err(  … ElemeFE#15355) (ElemeFE#16520)

* Tab: Refactor tabs-item's padding with dynamic value

* Docs: fix typo in Drawer docs (ElemeFE#16848)

* Calendar : Fix weekdays i18n issue (ElemeFE#16772)

* Popover: add close-delay prop (ElemeFE#16671)

* Input: Fix Korean composition event (ElemeFE#15069)

* Table: fix wrong empty block height (ElemeFE#16861)

* Chore: Theme Extension (ElemeFE#16686)

* Checkbox: Improve screen reader experience (ElemeFE#16575)

* Docs: Update custom theme (ElemeFE#16983)

* DOC: update spanish doc 2.11.1 (ElemeFE#16961)

* update spanish doc 2.11

* update spanish doc 2.11

* update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* i18n: add Esperanto translation (ElemeFE#16955)

* Table: fix chrome crash when set thead css display to none (ElemeFE#16956)

* Cascader: fix display errors (ElemeFE#16665)

* Cascader: Fix disable status and close button issue (ElemeFE#16209)

* Input: the click event of clear button is not trigger when using v-loading (ElemeFE#16576)

* BackTop: use cubic bezier scrolling

* Tabs: fix activated tab is out of visual range bug (ElemeFE#17033)

* RadioGroup: not produce invalid HTML in table if "is" attribute is specify (ElemeFE#17070)

* Table: not throw error when calling toggleExpansion (ElemeFE#16304)

* Divider: Support custom classes (ElemeFE#17078)

* Table: not trigger sort-change event when mounted (ElemeFE#17113)

* Table: set toggleAllSelection as instance property (ElemeFE#17137)

* Dialog: update sass var (ElemeFE#16365)

* Docs: Update input-number document about change event (ElemeFE#16316) (ElemeFE#16966)

* Calendar: fix locale error

* Transfer: fix style error

* Chore(deps): Bump mixin-deep from 1.3.1 to 1.3.2 (ElemeFE#17211)

* Table: fix setCurrentRow unable to clear highlight row (ElemeFE#16879)

* Table: fix expand-row-keys not work when data is loaded asynchronously (ElemeFE#16899)

* Select: not toggle dropdown when filtering (ElemeFE#17205)

* changelog for 2.12.0 (ElemeFE#17218)

* chore: update folder (ElemeFE#17220)

* [build] 2.12.0

* [release] 2.12.0

* doc: fix time-select typo (ElemeFE#17250)

* DatePicker: fix bug of only select min date of date range problem (ElemeFE#17191) (ElemeFE#17207)

* [Select]: fix select test cases

* README: fix typo (ElemeFE#16952)

* Docs: fix Drawer attribute accepted value typo in es (ElemeFE#17122)

* add font-size for the style of tree empty-text (ElemeFE#17094)

* Avatar: remove no-used css-property (ElemeFE#16975)

* Table: column header can be costumed (ElemeFE#17291)

* Table: update table header cell style (ElemeFE#17284)

* Table: fix table header height after filter (ElemeFE#17348)

* Table: fixed row-style with display not work (ElemeFE#17002)

* update webpack config (ElemeFE#17373)

* Docs: update Spanish changelog 2.12.0 (ElemeFE#17364)

* Calendar: import el-button and el-button-group (ElemeFE#17376)

* MessageBox: fix icon position error (ElemeFE#17410)

* i18n: update locale es.js (ElemeFE#17419)

* TimePicker: Set the selection range after scrolling up or down (ElemeFE#16868)

* Chore: update readme Dingtalk QR code (ElemeFE#17656)

* Doc: Fix Changelog typo (ElemeFE#17874)

* Docs: Fix Loading demo (ElemeFE#17862) (ElemeFE#17863)

* Message: fix close instace offsetHeight(ElemeFE#17564) (ElemeFE#17852)

* I18n: Update avatar component fr doc (ElemeFE#17762)

* Form: callback of validateField should be optional (ElemeFE#17314)

* Cascader: fix TypeScript 3.7 compatibility (ElemeFE#17881)

Fix error: 导入声明与“CascaderOption”的局部声明冲突

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0 (ElemeFE#17269)

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0

* Better fix

* comment

* fix

* Popconfirm: Add popconfirm component (ElemeFE#17548)

* init

* init

* init docs

* init docs2

* init type

* update test

* update naming

* Dropdown: update type file (ElemeFE#17550)

* Chore: SSR test (ElemeFE#16797)

* init ssr test

* ssr test

* Progress: add strokeLinecap prop (ElemeFE#17552)

* Progress: add strokeLinecap prop

* update docs

* InfiniteScroll: Skip trigger event on invisible element (ElemeFE#17553)

* InfiniteScroll: Do not trigger event on invisible element

* InfiniteScroll: Do not trigger event on invisible element2

* Image: Perfect picture preview behavior (ElemeFE#16985) (ElemeFE#17375)

* Perfect picture preview function

* update test

* Avatar: recover removed css-property (ElemeFE#17372)

This reverts commit 10592d1.

* Image: Fix shield the page when preview big image (ElemeFE#16796) (ElemeFE#16997)

* Image: Fix shield the page when preview big image

* refine

* Image:fix page scroll when use image-viewer by keyup and keydown

* add notes

* Table: fix header table not display (ElemeFE#17341)

* I18n: Update sv-SE.js (ElemeFE#17926)

* Drawer: bugfix/drawer-append-to-body-not-working (ElemeFE#16953)

- 修复了 AppendToBody API 不管用的问题.
- 修复了展开动画会出现滚动条的问题
- 新增了一个新的 API `withHeader` 来控制是否显示 Header 栏
- 动画流畅度的一个小改动
- 对应文档的改动
- 对应单元测试的改动

* Select: Fix tag show value or empty issue (17199) (ElemeFE#17396)

* Select: Fix tag show value or empty issue

* update docs

* Docs:  add input event in input Events Table (ElemeFE#18061)

* docs: Input Events Table add input event

update input doc, add input event
the issue is ElemeFE#7592

* docs: update input docs and add input event

* docs: update input docs and add input event

* Docs: delete Input  repeat change event (ElemeFE#18085)

* fix: FF scroll bar width (ElemeFE#18091)

* Chore: Update Changelog (ElemeFE#18200)

* change log

* update sub folder

* [build] 2.13.0

* [release] 2.13.0

* Transfer: fix incorrect line-height of el-transfer's first list item when it was used with  el-form-item (ElemeFE#18917)

* [Input Number] Correctly compute inputNumberDisabled (ElemeFE#18439)

* doc: Popconfirm doc update (ElemeFE#18324)

* Carousel: fix console typo bug (ElemeFE#18264)

* doc: fix step-strictly docs typo (ElemeFE#18705)

* Autocomplete: add change event (ElemeFE#17913)

* Autocomplete:  fix suggestion error when textarea (ElemeFE#18478)

* Image: don't show image-viewer when preview is false (ElemeFE#18967)

* Image: Fix preview dose not show when preview list not contain src issue (ElemeFE#18975) (ElemeFE#19130)

* chore: remove index intro (ElemeFE#19155)

* Image: Fix shortcut key not work at second time issue (ElemeFE#18983) (ElemeFE#19156)

* Image: fix shortcut key not work at second time issue (ElemeFE#18983)

* fix test case

* fix test case

Co-authored-by: cl199793 <cl199793@alibaba-inc.com>

* Docs: fix a type error in document of steps component. (ElemeFE#17555)

* Chore: Update Changelog (ElemeFE#19162)

* [build] 2.13.1

* [release] 2.13.1

* Autocomplete: fix change event bug (ElemeFE#19200)

* fix: Image update error status

* locale: Fix ru-RU popconfirm translation (ElemeFE#19220)

* locale: Fix  vi translation (ElemeFE#19244)

* locale: Update Catalan and Spanish translations (ElemeFE#19296)

* locale: Update locale Indonesia (id.js) (ElemeFE#19320)

* locale: Update Brazilian Portuguese translation  (ElemeFE#19374)

* chore: update changelog (ElemeFE#19442)

* chore: update changelog

* chore: update changelog style

* [build] 2.13.2

* [release] 2.13.2

* doc: Update Spanish Changelog 2.13.2 (ElemeFE#19944)

* chore: Update Discussion Group Link (ElemeFE#20175)

* doc: Correct calendar English docs (ElemeFE#19912)

* fix: Update km.js (ElemeFE#20077)

Update Khmer translate

* fix(progress): fix attribute error (ElemeFE#19985)

* fix: Update Russian locale (ru-RU.js)  (ElemeFE#19451)

* chore: update README (Vue 3.0) (ElemeFE#20345)

add migration guide to Vue 3.0

* fix: Update ua locale (ElemeFE#20344)

* docs: fix color picker default value typo (ElemeFE#20212)

* fix: re-name error popconfirm event name (ElemeFE#20240)

* chore: update changelog (ElemeFE#20347)

* chore: update version.js

* [build] 2.14.0

* [release] 2.14.0

* chore: remove donation section

* i18n: Update Arabic translation (ElemeFE#20202)

* chore: readme add link to Vue.js 3.0 Migration repository (ElemeFE#20199)

Now that Vue.js 3.0 has been release, it'll be nice to let users/developers know that we are working on the migration there.

* chore: update sponsor (ElemeFE#20425)

* Popover: compatible with 2.6 new v-slot syntax (ElemeFE#20424)

* i18n: Update Uighur locale (ElemeFE#20177)

* chore: update changelog (ElemeFE#20427)

* [build] 2.14.1

* [release] 2.14.1

* Update faas config

* chore: update issue template (ElemeFE#20588)

* Select: fix placeholder i18n bug (ElemeFE#17644)

* fix: fix Popconfirm i18n bug

* docs: fix typo in french translation of datetime-picker.md (ElemeFE#20543)

* Drawer: fix focus bug (ElemeFE#20626)

Co-authored-by: wp178491 <wp178491@alibaba-inc.com>

* Docs: add format attribute description to the progress component (ElemeFE#20641)

* Image: preview optimization (ElemeFE#20652)

* feat: add change log 2.15.0 (ElemeFE#20692)

* [build] 2.15.0

* [release] 2.15.0

* fix(Drawer): fix size number bug (ElemeFE#20718)

* fix: fix incorrect image object fit ratio in IE (ElemeFE#19583)

* chore: update Axure resource v2.1.0

* Cascader: fix cascader panel active path (ElemeFE#20730)

* fix: fix calendar component i18n bug

fix ElemeFE#20524

* fix(color-picker): fix color-picker can't select 8-digit hex color (ElemeFE#20710)

* chore: update header banner

* docs: add change log (ElemeFE#20798)

* [build] 2.15.1

* [release] 2.15.1

* chore: remove getTestEle (ElemeFE#20811)

* Image: fix z-index and keydown event add stopPropagation (ElemeFE#20859)

* Input: fix show password cursor (ElemeFE#20870)

* Input: fix show password icon in edge (ElemeFE#20902)

* fix: update isFunction (ElemeFE#20912)

* Carousel: fix interval and scale bug (ElemeFE#20931)

* Cascader: fix delete tag bug (ElemeFE#20939)

* Drawer: add overflow auto (ElemeFE#20948)

* feat: add change log (ElemeFE#21032)

* [build] 2.15.2

* [release] 2.15.2

* Skeleton: add skeleton component (ElemeFE#21038)

* Local: fix week translations for hr locale (ElemeFE#21040)

* Table: fix lazy load data (ElemeFE#21041)

* Docs: fix form hide-required-asterisk description (ElemeFE#21045)

* Fix drawer destroy (ElemeFE#20715)

* Drawer: fix destroyOnClose bug

* Row: fix align top (ElemeFE#20963)

* Select: fix the bug when the value is Boolean (ElemeFE#21052)

* Calendar: fix first-day-of-week (ElemeFE#21057)

* Utils: fix isScroll (ElemeFE#21065)

* Skeleton: fix skeleton.d.ts (ElemeFE#21074)

* Empty: add empty component (ElemeFE#21080)

* CascaderPanel: export type (ElemeFE#21070)

* Spinner: add spinner.d.ts (ElemeFE#21090)

* fix(utils.dom): fix utils.dom error (ElemeFE#21049)

In IE browser, If the reference element(slot="reference") under the popover component is a SVG element, an error will be reported.

[ElemeFE#21048](ElemeFE#21048)

* chore: add changelog (ElemeFE#21108)

* [build] 2.15.3

* [release] 2.15.3

* Utils: fix isScroll (ElemeFE#21098)

* Descriptions: add description component (ElemeFE#21129)

* Translation: update it.js (ElemeFE#21133)

added missing translations

* RadioGroup: fix RadioGroup used in component causes exception ElemeFE#17908 (ElemeFE#20783)

* chore: fix lint and some errors (ElemeFE#21136)

* chore: fix lint

* chore: fix lint and some errors

* Result: add result component (ElemeFE#21171)

* Message: fix message[type] (ElemeFE#21088)

* Carousel: reset the timer when setActiveItem method is called (ElemeFE#20846)

* Cascader: fix emitPath (ElemeFE#21185)

* Select: fix select filterable bug (ElemeFE#17494)

* Tree: fix insertChild (ElemeFE#21194)

* Select: fix a bug that makes the browser jitter in zoom mode (ElemeFE#21197)

* chore: add changelog (ElemeFE#21199)

* [build] 2.15.4

* [release] 2.15.4

* Select: fix resetInputHeight (ElemeFE#21201)

* chore: add changelog (ElemeFE#21203)

* [build] 2.15.5

* [release] 2.15.5

* Cascader: fix a bug that makes the browser jitter in zoom mode (ElemeFE#21207)

* i18n: fix italian mistake (ElemeFE#21012)

* Cascader: optimize performance (ElemeFE#21231)

* Select: fix long text overflow in multiple mode (ElemeFE#21237)

* Dropdown: add disabled property (ElemeFE#21235)

* Radio: fix checked state when browser go back (ElemeFE#21250)

* Descriptions: fix type declaration (ElemeFE#21265)

* Descirptions: avoid table style conflict (ElemeFE#21254)

* Descirptions: avoid table style conflict

* Table: avoid `th` & `td` style conflict

* Table: fix class location avoid click event errors

* Table: optimize getCellClass method

* Descriptions: add missing class

* Drawer: fix append to body (ElemeFE#21264)

* chore: add changelog (ElemeFE#21286)

* [build] 2.15.6

* [release] 2.15.6

* Select: fix click icon triggering dropdown (ElemeFE#21314)

* Badge: fix type class when is-dot (ElemeFE#21308)

* Form: validate method reject error info (ElemeFE#21374)

* Select: fix keydown event when composition (ElemeFE#21336)

* Table: fix resizeObserver loop limit exceeded (ElemeFE#21255)

* Chore: create preview.yml (ElemeFE#21457)

* Chore: fix CI (ElemeFE#21461)

* Create preview-build.yml

* Chore: fix ci

* Descriptions: fix label slot bug (ElemeFE#21462)

* Chore: replace node-sass with dart-sass (ElemeFE#21019)

* chore: 移除 node-sass 替换为 sass 进行构建

- 更新调用库 gulp-sass 更新为 gulp-dart-sass 以支持 sass
- 更新 scss 使用语法旧语法已被废弃

* chore: add yarn lock

* Table: fix toggleAllSelection bug when table is empty (ElemeFE#21456)

* Button: fix disabled priority (ElemeFE#21375)

* Docs: fix skeleton typos (ElemeFE#21408)

* Table: optimize performance (ElemeFE#21330)

* Table: optimize performance

* Table: fix sync height

* chore: add changelog (ElemeFE#21481)

* [build] 2.15.7

* [release] 2.15.7

* Table: revert sync fixed table rows height (ElemeFE#21486)

* Switch: fix toggling value error (ElemeFE#19473)

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>

* i18n: Update Azerbaijani translation (ElemeFE#21771)

* i18n: Update Slovenian translation (ElemeFE#21729)

* fix: vue version explicitly to 2.x (ElemeFE#21736)

* i18n: Update Slovak translations (ElemeFE#21711)

* i18n: Add Icelandic translation (ElemeFE#21709)

* i18n: Add Bengali translation (ElemeFE#21485)

* Docs: update input typo about size attribute (ElemeFE#21723)

* Docs: Update skeleton.md (ElemeFE#21601)

* DatePicker: fix function name typo (ElemeFE#21663)

* Revert "Chore: replace node-sass with dart-sass (ElemeFE#21019)" (ElemeFE#21791)

This reverts commit d6dedac.

* chore: add changelog (ElemeFE#21792)

* i18n: Format optimization

* [build] 2.15.8

* [release] 2.15.8

Co-authored-by: Lukas <12974004+l3op@users.noreply.github.com>
Co-authored-by: iamkun <kunhello@outlook.com>
Co-authored-by: luckyCao <cao.lei1031@163.com>
Co-authored-by: Jeff Wen <sinchangwen@gmail.com>
Co-authored-by: Hazlank <401840614@qq.com>
Co-authored-by: Cr <631807682@qq.com>
Co-authored-by: jesse-li <lijiexi93@gmail.com>
Co-authored-by: hetech <dengzhiyang123@126.com>
Co-authored-by: 咸fish <victorting_2015@aliyun.com>
Co-authored-by: winkay <34124953+winkay@users.noreply.github.com>
Co-authored-by: SeongYeob Jeong <ubi.toffee@gmail.com>
Co-authored-by: LachlanStuart <26366936+LachlanStuart@users.noreply.github.com>
Co-authored-by: Moonhyuk Im <godmoon00@naver.com>
Co-authored-by: Tyler Trotter <tylertrotter@gmail.com>
Co-authored-by: Gonzalo Nandez <godan2310@yahoo.es>
Co-authored-by: Maksim Koryukov <maxkoryukov@users.noreply.github.com>
Co-authored-by: zhangHongEn <zhang_h_n@163.com>
Co-authored-by: Inside <inside74@163.com>
Co-authored-by: lon <longhao.lhl@alibaba-inc.com>
Co-authored-by: Geass <nullptru@gmail.com>
Co-authored-by: Zhi Cun <island205@gmail.com>
Co-authored-by: Haoran Yu <haoran_yu@hotmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiewei Qian <wacky6@users.noreply.github.com>
Co-authored-by: Kerwin Ch <smk0621@hotmail.com>
Co-authored-by: msidolphin <OoMass-EffectoO@hotmail.com>
Co-authored-by: 0xflotus <0xflotus@gmail.com>
Co-authored-by: wurong <w18801775254@163.com>
Co-authored-by: spengjie <spengjie@sina.com>
Co-authored-by: 不得不错 <hnsxxscyx@gmail.com>
Co-authored-by: MASONGZHI <511071161@qq.com>
Co-authored-by: Bryan Matthews <mattheyan@gmail.com>
Co-authored-by: 任立欣 <1060754972@qq.com>
Co-authored-by: Weiqi Wu <295290708@qq.com>
Co-authored-by: Gong <445722156@qq.com>
Co-authored-by: Baptiste Lombard <17877656+blombard@users.noreply.github.com>
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
Co-authored-by: Emil Ahlbäck <Emil.Ahlback99@gmail.com>
Co-authored-by: jeremywu <591449570@qq.com>
Co-authored-by: vimvinter <zhoudaxia5683@163.com>
Co-authored-by: Hanx <xuanxinhan@vip.qq.com>
Co-authored-by: ashuser-pendo <ashuser@Pendo.io>
Co-authored-by: IceFox <zengxinhai007@gmail.com>
Co-authored-by: 张超杰 <1098626505@qq.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
Co-authored-by: Roojay <roojay520@users.noreply.github.com>
Co-authored-by: inooNgt <inoongt@gmail.com>
Co-authored-by: cl199793 <cl199793@alibaba-inc.com>
Co-authored-by: 刘宏玺 <liuhongxi0000@163.com>
Co-authored-by: Philip Solovyev <philvv@mail.ru>
Co-authored-by: Quang LN <nhatquang2810@hotmail.com>
Co-authored-by: Ismail D <didouhismael@gmail.com>
Co-authored-by: therour <nizomsidiq@gmail.com>
Co-authored-by: Diego Mengarda <diegormengarda@gmail.com>
Co-authored-by: Bryce Barbara <BryceBarbara@users.noreply.github.com>
Co-authored-by: vc3nt <keansovay@gmail.com>
Co-authored-by: Caaalabash <1121062986@qq.com>
Co-authored-by: Emil Yangirov <32175431+yangirov@users.noreply.github.com>
Co-authored-by: Alex <alexk.mammut@gmail.com>
Co-authored-by: Zhwt <greatzhwt@gmail.com>
Co-authored-by: Vladislav Bakaev <vladislav-bakaev@mail.ru>
Co-authored-by: Ahmed Elkattan <58733479+elkattan@users.noreply.github.com>
Co-authored-by: Enguerrand des Vaux <enguerrand@des-vaux.fr>
Co-authored-by: IlhamTahir <yili@howzhi.com>
Co-authored-by: nzh63 <nzh21@outlook.com>
Co-authored-by: Peng Gao <ggjqzjgp103@qq.com>
Co-authored-by: Lucas Soulier <lucas@buckless.com>
Co-authored-by: 好多大米 <lost1q84@gmail.com>
Co-authored-by: wp178491 <wp178491@alibaba-inc.com>
Co-authored-by: charlie0228 <charlie800228@gmail.com>
Co-authored-by: UxieKong <1351117103@qq.com>
Co-authored-by: zj9495 <zj9495@gmail.com>
Co-authored-by: qige2016 <286882998@qq.com>
Co-authored-by: fw6 <45113594+fw6@users.noreply.github.com>
Co-authored-by: yanzhuang <qq984245844@gmail.com>
Co-authored-by: bliberi <beatrice.liberi@gmail.com>
Co-authored-by: lichao <18709270892@163.com>
Co-authored-by: Nekojita1 <bearlove@ooxx.me>
Co-authored-by: pofore <pofore@qq.com>
Co-authored-by: Ricardo Tondello <rkdtondello@gmail.com>
Co-authored-by: SHIODA Masaharu <masaharu.shioda@legalforce.co.jp>
Co-authored-by: Aex <adaex@qq.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: dennyak47 <20741686+dennyak47@users.noreply.github.com>
Co-authored-by: bchen1029 <39672197+bchen1029@users.noreply.github.com>
Co-authored-by: TommyShao <tomieric@gmail.com>
Co-authored-by: Lin <yunfax@outlook.com>
Co-authored-by: zhhbstudio <zhhbstudio@gmail.com>
Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@outlook.com>
Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
Co-authored-by: Chingiz Mammadov <info@chz.dev>
Co-authored-by: Patrick <patik.developer@outlook.com>
Co-authored-by: Chen Kai <k_0520@qq.com>
Co-authored-by: sjaustirni <22116610+sjaustirni@users.noreply.github.com>
Co-authored-by: Aron Hrafnsson <aronhr@users.noreply.github.com>
Co-authored-by: llwwtt <592171420@qq.com>
Co-authored-by: Allen <allenforuse@gmail.com>
Co-authored-by: 离岛 <yanwydxf@163.com>
Co-authored-by: bofeng <xinguanhua@gmail.com>
Co-authored-by: 博风 <xinguanhua.xgh@alibaba-inc.com>
@syp10000
Copy link

syp10000 commented May 2, 2022

tabs下面放2个el-table,在切换tab的时候,2.15.8table会出现表头抖动,在2.15.6版本及之前没问题

@fukedi
Copy link

fukedi commented May 5, 2022

@syp10000 我也发现这个问题了,抖动很厉害,特别是出现横向滚动条的时候,抖动很明显.

@xtqjh
Copy link

xtqjh commented Jun 1, 2022

table 横向滚动时表头明显延时

2022-06-01.10.00.35.mov

@raohuiyong
Copy link

@cs1707 现在还是有这个问题,菜单栏折叠的时候,table显示不是很友好,2.15.6之前的版本很正常

hzsrc pushed a commit to hzsrc/element that referenced this pull request Feb 2, 2023
* Table: optimize performance

* Table: fix sync height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet