图标按钮的巨大选择半径MUI React
只是在图标按钮上摆脱了这些巨大的选择时遇到一些困难,这些按钮可以在这里看到: 大型选择
我发现一个修复程序是添加的:component ='span =“ span”
- 为什么此功能这是一个错误吗?我还应该提到我已经使用任何其他DIV或任何自定义CSS内的图标按钮对此进行了测试,但它的行为仍然相同。
- 我将如何将此组件=“跨度”固定到我相信使用其中的图标按钮的自动完成组件上,请参阅此处:自动完成图标按钮。在右侧,下拉箭头和交叉按钮共享此大型选择,我认为也是图标按钮。
谢谢!
just having some trouble getting rid of these huge selections on icon buttons which can be seen here:
Large selection
I have found a fix is adding: component="span"
- Why does this work/is this a bug? I should also mention I have tested this with the icon button not inside any other divs or any custom CSS and it still behaves the same.
- How would I apply this component="span" fix to the autocomplete component which I believe uses icon buttons inside it, please see here: Autocomplete icon button. On the right the drop down arrow and cross buttons share this large selection and I assume are also Icon Buttons.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)