table icon indicating copy to clipboard operation
table copied to clipboard

fix: get old or error expand keys when cell is not render for ues update check

Open 405go opened this issue 5 years ago • 1 comments

  • bug describe: When the cell containing the expand icon is not re rendered, click the mergedexpandedkeys obtained in the ontriggerexpand method in the cell table to use the value of the first rendering of the cell, resulting in the collapse exception of the expansion
  • bug reproduce address: https://codesandbox.io/s/eloquent-blackwell-d4pt1
  • bug fix: ues useRef to cache mergedexpandedkeys

405go avatar Jun 17 '20 09:06 405go

Codecov Report

Merging #494 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #494   +/-   ##
=======================================
  Coverage   99.70%   99.70%           
=======================================
  Files          23       23           
  Lines         672      675    +3     
  Branches      193      193           
=======================================
+ Hits          670      673    +3     
  Misses          2        2           
Impacted Files Coverage Δ
src/Table.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 79a5aaf...48cd452. Read the comment docs.

codecov[bot] avatar Jun 30 '20 03:06 codecov[bot]