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

fix: ๐Ÿ› Affix react warning #22790

Merged
merged 1 commit into from Mar 31, 2020
Merged

fix: ๐Ÿ› Affix react warning #22790

merged 1 commit into from Mar 31, 2020

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Mar 31, 2020

๐Ÿค” This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

๐Ÿ”— Related issue link

close #22683

๐Ÿ’ก Background and solution

image

Chrome Responsive View Port Mode Only.

๐Ÿ“ Changelog

Language Changelog
๐Ÿ‡บ๐Ÿ‡ธ English Fix Affix throws React warning of state update on unmounted component.
๐Ÿ‡จ๐Ÿ‡ณ Chinese ไฟฎๅค Affix ๆŠ›ๅ‡บ React state update on unmounted component ่ญฆๅ‘Š็š„้—ฎ้ข˜ใ€‚

โ˜‘๏ธ Self Check before Merge

โš ๏ธ Please check all items below before review. โš ๏ธ

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

View rendered components/affix/demo/basic.md

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Mar 31, 2020

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 31, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1884725f8ccebad0ed65623b27dbfcb51e0bc553:

Sandbox Source
antd reproduction template Configuration

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 31, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3d1402a:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Mar 31, 2020

Codecov Report

Merging #22790 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #22790      +/-   ##
==========================================
+ Coverage   98.28%   98.28%   +<.01%     
==========================================
  Files         361      361              
  Lines        7212     7213       +1     
  Branches     1971     1971              
==========================================
+ Hits         7088     7089       +1     
  Misses        124      124
Impacted Files Coverage ฮ”
components/affix/index.tsx 99.08% <100%> (รธ) โฌ†๏ธ

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 b4c943a...3d1402a. Read the comment docs.

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