Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(tooltip): description prop deprecated, use content instead (#2806)

virtuacoplenny41e1c3a2e2b4
diff --git a/react/features/filmstrip/components/web/BaseIndicator.js b/react/features/filmstrip/components/web/BaseIndicator.js
index 3d195b27f5..30707b34d4 100644
--- a/react/features/filmstrip/components/web/BaseIndicator.js
+++ b/react/features/filmstrip/components/web/BaseIndicator.js
@@ -89,7 +89,7 @@ class BaseIndicator extends Component {
return (
<div className = 'indicator-container'>
<Tooltip
- description = { t(tooltipKey) }
+ content = { t(tooltipKey) }
position = { tooltipPosition }>
<span
className = { iconContainerClassName }
diff --git a/react/features/toolbox/components/ToolbarButton.web.js b/react/features/toolbox/components/ToolbarButton.web.js
index 03bd272c7d..586c5f5fd8 100644
--- a/react/features/toolbox/components/ToolbarButton.web.js
+++ b/react/features/toolbox/components/ToolbarButton.web.js
@@ -55,7 +55,7 @@ class ToolbarButton extends AbstractToolbarButton {
onClick = { this.props.onClick }>
{ this.props.tooltip
? <Tooltip
- description = { this.props.tooltip }
+ content = { this.props.tooltip }
position = { this.props.tooltipPosition }>
{ children }
</Tooltip>
diff --git a/react/features/video-quality/components/VideoQualityLabel.web.js b/react/features/video-quality/components/VideoQualityLabel.web.js
index fc303944a5..f27e74a05d 100644
--- a/react/features/video-quality/components/VideoQualityLabel.web.js
+++ b/react/features/video-quality/components/VideoQualityLabel.web.js
@@ -166,7 +166,7 @@ export class VideoQualityLabel extends Component {
className = { classNames }
id = 'videoResolutionLabel'>
<Tooltip
- description = { t(tooltipKey) }
+ content = { t(tooltipKey) }
position = { 'left' }>
<div className = 'video-quality-label-status'>
{ labelContent }