diff --git a/packages/strapi-plugin-content-manager/admin/src/components/RelationPreviewList/RelationPreviewTooltip.js b/packages/strapi-plugin-content-manager/admin/src/components/RelationPreviewList/RelationPreviewTooltip.js index 5db20917c1..333e546249 100644 --- a/packages/strapi-plugin-content-manager/admin/src/components/RelationPreviewList/RelationPreviewTooltip.js +++ b/packages/strapi-plugin-content-manager/admin/src/components/RelationPreviewList/RelationPreviewTooltip.js @@ -56,7 +56,13 @@ const RelationPreviewTooltip = ({ tooltipId, rowId, mainField, name }) => { // Used to update the position after the loader useLayoutEffect(() => { if (!isLoading && tooltipRef.current) { - tooltipRef.current.updatePosition(); + // A react-tooltip uncaught error is triggered when updatePosition is called in firefox. + // https://github.com/wwayne/react-tooltip/issues/619 + try { + tooltipRef.current.updatePosition(); + } catch (err) { + console.log(err); + } } }, [isLoading]);