-
Notifications
You must be signed in to change notification settings - Fork 31
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(style): clear up all trigger style controls #1543
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/growingio/gio-design/2tVx9QEkm2UBgUxbG3yZd27aRXo6 |
Please retry analysis of this Pull-Request directly on SonarCloud. |
2e006f9
to
659a8ef
Compare
1. listPicker select cascader 重新定义triggerProps 2. select 新增 allowWith 自动设置 content宽度 与 原有select保持一致 3. 修复 tooltip allow 小三角指向问题 4. list新增 onClick 方法 5. Input 组件重新定义ref指向
Kudos, SonarCloud Quality Gate passed! |
整理了以上这些 组件 有关 trigger的样式控制,让控制起来的难度更小一些
各类trigger样式控制:
跟随父级宽度 style={{width:'100%'}}
自动宽(不需要设定宽度)
自定义宽度 style={{width:'240px'}}
二: