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(module: tabs): avoid exception when the first TabPane is set Disabled #2982

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

ElderJames
Copy link
Member

🤔 This is a ...

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

🔗 Related issue link

fixed #2732

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fixed Tabs avoid exception when the first TabPane is set Disabled
🇨🇳 Chinese 修复 Tabs 当第一个TabPane设置了 Disabled 后,首次渲染异常的问题

☑️ 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
  • Changelog is provided or not needed

@github-actions
Copy link

github-actions bot commented Jan 5, 2023

@codecov
Copy link

codecov bot commented Jan 5, 2023

Codecov Report

Base: 43.60% // Head: 45.02% // Increases project coverage by +1.41% 🎉

Coverage data is based on head (b71df6f) compared to base (bd89940).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2982      +/-   ##
==========================================
+ Coverage   43.60%   45.02%   +1.41%     
==========================================
  Files         551      551              
  Lines       25923    25919       -4     
  Branches      263      263              
==========================================
+ Hits        11304    11669     +365     
+ Misses      14579    14210     -369     
  Partials       40       40              
Impacted Files Coverage Δ
components/tabs/Tabs.razor.cs 70.58% <100.00%> (ø)
components/core/Component/Overlay/Overlay.razor.cs 73.83% <0.00%> (-2.91%) ⬇️
components/select/Select.razor.cs 53.24% <0.00%> (+0.26%) ⬆️
components/select/SelectBase.cs 71.19% <0.00%> (+0.27%) ⬆️
components/input/Input.cs 68.81% <0.00%> (+0.35%) ⬆️
components/date-picker/internal/DatePickerBase.cs 79.01% <0.00%> (+0.66%) ⬆️
components/core/CssSizeLength.cs 86.07% <0.00%> (+1.07%) ⬆️
components/grid/Col.razor.cs 96.00% <0.00%> (+1.33%) ⬆️
components/core/Extensions/JSRuntimeExtensions.cs 53.33% <0.00%> (+3.33%) ⬆️
components/core/Base/AntComponentBase.cs 57.14% <0.00%> (+3.57%) ⬆️
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ElderJames ElderJames merged commit 9f83920 into master Jan 5, 2023
@ElderJames ElderJames deleted the fix/tabs-first-tab-disabled branch January 5, 2023 15:41
kooliokey pushed a commit to kooliokey/ant-design-blazor that referenced this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tabs bug
1 participant