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(select): wrap when remain width is enough #385

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

uyarn
Copy link
Collaborator

@uyarn uyarn commented Apr 12, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复

🔗 相关 Issue

💡 需求背景和解决方案

由于之前input内真正的input输入框在input层 重构的Input又增加了一层 之前input的width: 100%实际来到了第二层,
之前不换行依赖flex: 1, width: 100% ,来保证内部input的宽度应该是按现有剩余宽度撑开 保证不会换行;
但是重构之后 真正的Input的width 100%的设置丢失了 input实际是按默认宽度展开的 大概是150左右 所以会出现issue的情况。所以需要再手动给它加上这个配置。

📝 更新日志

  • fix(Select): 可过滤的选择器提前换行问题

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link

style/web/components

完成

@xiaosansiji xiaosansiji merged commit 4a610e1 into develop Apr 12, 2022
@xiaosansiji xiaosansiji deleted the fix/select-multi-wrap branch April 12, 2022 08:17
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