Skip to content

Commit

Permalink
fix: fixing the morphing text to work on firefox too (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsarghyadas authored Dec 27, 2024
1 parent 131573f commit a780bf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion registry/default/magicui/morphing-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ const Texts: React.FC<Pick<MorphingTextProps, "texts">> = ({ texts }) => {
};

const SvgFilters: React.FC = () => (
<svg id="filters" className="hidden" preserveAspectRatio="xMidYMid slice">
<svg
id="filters"
className="fixed h-0 w-0"
preserveAspectRatio="xMidYMid slice"
>
<defs>
<filter id="threshold">
<feColorMatrix
Expand Down

0 comments on commit a780bf2

Please sign in to comment.