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: TimePicker.RangePicker bordred when has className #24781

Merged
merged 2 commits into from
Jun 6, 2020

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Jun 6, 2020

when has className

[中文版模板 / 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 #24768

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix TimePicker.RangePicker bordered={false} not working when has className.
🇨🇳 Chinese 修复 TimePicker.RangePicker 指定 className 后无边框样式失效的问题。

☑️ 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/time-picker/demo/bordered.md

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 6, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 6, 2020

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 6, 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 4b239d6:

Sandbox Source
antd reproduction template Configuration

@afc163 afc163 mentioned this pull request Jun 6, 2020
@codecov
Copy link

codecov bot commented Jun 6, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #24781   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files         365      365           
  Lines        7292     7292           
  Branches     2039     2039           
=======================================
  Hits         7235     7235           
  Misses         57       57           
Impacted Files Coverage Δ
...date-picker/generatePicker/generateRangePicker.tsx 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 e09ce62...4b239d6. Read the comment docs.

@afc163 afc163 merged commit 5e1be36 into master Jun 6, 2020
@afc163 afc163 deleted the fix-time-picker-bordered branch June 6, 2020 07:26
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.

RangePicker picker="time" className prop breaks size and bordered props
2 participants