简体   繁体   English

一起使用时,TooltipClasses 和 FabProps 不适用于 Material UI React 中的 SpeedDialAction

[英]When used together, TooltipClasses and FabProps are not working for SpeedDialAction in Material UI React

While working on SpeedDial component of React's Material UI the following is needed:在处理 React 的 Material UI 的SpeedDial 组件时,需要以下内容:

  1. Change the background color of speeddial button更改快速拨号按钮的背景颜色
  2. Change the background color of speeddialactions更改快速拨号的背景颜色
  3. Change the font size of tooltip displayed on hover over speeddialactions通过 speeddialactions 更改 hover 上显示的工具提示的字体大小

All this was done successfully earlier with the following dependencies at sandbox URL for working code - material-ui/core 4.1.3 - material-ui/lab 4.0.0.alpha.18所有这一切都在早些时候成功完成,沙箱 URL 的以下依赖项用于工作代码- material-ui/core 4.1.3 - material-ui/lab 4.0.0.alpha.18

But now with latest packages I have updated code posted here sandbox URL for semi working code where things are getting bumpy - material-ui/core 4.6.0 - material-ui/lab 4.0.0.alpha.31 when hovered over speeddialaction there is an error that causes the SpeedDial to disappear.但是现在有了最新的软件包,我已经更新了这里发布的代码沙箱 URL 用于半工作代码,事情变得颠簸 - material-ui/core 4.6.0 - material-ui/lab 4.0.0.alpha.31 当悬停在 speeddialaction 上时导致 SpeedDial 消失的错误。 Error details can be seen in the console of sandbox URL for semi working code可以在沙盒 URL 的控制台中查看错误详细信息以获得半工作代码

This was a bug after I reported to material-ui community and has been fixed in alpha 32 release.Refer at Issue and solution posted here这是我向 material-ui 社区报告后的一个错误,并已在 alpha 32 版本中修复。请参阅此处发布的问题和解决方案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 React 的 Material UI 快速拨号中工具提示的字体大小 - Font size of tooltip in speeddialaction of React's Material UI 与Radium和Material-UI一起使用时,React悬停样式不起作用 - React hover style not working when used with Radium and Material-UI 单击 SpeedDialAction 按钮时,我可以阻止 Material-UI SpeedDial 关闭吗 - Can I stop Material-UI SpeedDial from closing when a SpeedDialAction button is clicked CSS 没有在 compose_btn 上工作,当我使用材料 ui 时反应 redux [在此处输入图像描述 - CSS was not working on compose_btn , in react redux when I used material ui[enter image description here Material UI 和 Bootstrap 可以一起使用吗? - Can Material UI and Bootstrap be used together? 材质 UI 组件在 React 中不起作用 - Material UI components not working in React Material-ui 单选按钮不能与 react-final-form 一起使用 - Material-ui radio button not working together with react-final-form WithStyles在Material UI中无法正常工作 - WithStyles not working in Material UI for React 与 React Hook Forms 一起使用时获取 Material UI 日期选择器的默认值 - Fetching the default value of Material UI Date Picker when used with React Hook Forms React JS - React Material UI 图标不起作用? - React JS - React Material UI icons not working?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM