Skip to content

Conversation

kerm1it
Copy link
Member

@kerm1it kerm1it commented May 16, 2020

添加了autoDestroy属性,默认为false,和destroyPopupOnHide不同的是关闭后直接销毁Portal和子内容,destroyPopupOnHide只会删除Portal的子元素。
#19536

@codecov
Copy link

codecov bot commented May 16, 2020

Codecov Report

Merging #178 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   85.68%   85.74%   +0.05%     
==========================================
  Files           7        7              
  Lines         503      505       +2     
  Branches      145      146       +1     
==========================================
+ Hits          431      433       +2     
  Misses         72       72              
Impacted Files Coverage Δ
src/index.tsx 82.22% <100.00%> (+0.10%) ⬆️

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 8797076...2cf7b9c. Read the comment docs.

@kerm1it
Copy link
Member Author

kerm1it commented May 16, 2020

@afc163

@afc163 afc163 merged commit 2d86274 into react-component:master May 17, 2020
@afc163
Copy link
Member

afc163 commented May 17, 2020

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.

2 participants