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: Drawer mask trigger close multiple times #25313

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Jun 30, 2020

[中文版模板 / Chinese template]

🤔 This is a ...

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

🔗 Related issue link

close #25311

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Drawer click mask will trigger close event multiple times.
🇨🇳 Chinese 修复 Drawer 点击遮罩可能会触发多次关闭事件的问题。

☑️ 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

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 30, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 30, 2020

@codesandbox-ci
Copy link

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 eba84ae:

Sandbox Source
antd reproduction template Configuration
antd reproduction template Issue #25311

@codecov
Copy link

codecov bot commented Jun 30, 2020

Codecov Report

Merging #25313 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #25313   +/-   ##
=======================================
  Coverage   99.51%   99.51%           
=======================================
  Files         368      368           
  Lines        7290     7290           
  Branches     2044     1995   -49     
=======================================
  Hits         7255     7255           
  Misses         35       35           

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 8ef1a3f...eba84ae. Read the comment docs.

@afc163 afc163 merged commit 70c548a into master Jun 30, 2020
@afc163 afc163 deleted the fix-drawer-mask branch June 30, 2020 11:30
This was referenced Jul 6, 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.

Drawer组件开启maskClosable后,点击几次mask就会调用几次关闭事件
2 participants