<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rahul Mall</title>
    <description>The latest articles on DEV Community by Rahul Mall (@rahul_mall_dd8da223f1af3d).</description>
    <link>https://dev.to/rahul_mall_dd8da223f1af3d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3574665%2F13c14de3-ab49-45de-ac6e-4a2ad0b73f48.png</url>
      <title>DEV Community: Rahul Mall</title>
      <link>https://dev.to/rahul_mall_dd8da223f1af3d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahul_mall_dd8da223f1af3d"/>
    <language>en</language>
    <item>
      <title>How I Fixed a CSS Animation Bug in an Open Source React Library</title>
      <dc:creator>Rahul Mall</dc:creator>
      <pubDate>Wed, 27 May 2026 06:37:55 +0000</pubDate>
      <link>https://dev.to/rahul_mall_dd8da223f1af3d/how-i-fixed-a-css-animation-bug-in-an-open-source-react-library-23c6</link>
      <guid>https://dev.to/rahul_mall_dd8da223f1af3d/how-i-fixed-a-css-animation-bug-in-an-open-source-react-library-23c6</guid>
      <description>&lt;p&gt;A few months back I contributed a fix to react-bits, an open source library of animated React components.&lt;/p&gt;

&lt;p&gt;The bug was subtle — enableMagnetism and enableTilt animations had a 300ms delay because the component used transition-all in its base CSS class. This caused GSAP transform animations to fight against the CSS transition, creating a noticeable lag.&lt;/p&gt;

&lt;p&gt;The fix was straightforward: swap transition-all for transition-colors. This lets GSAP control transforms freely while CSS still handles color-related properties like borders and shadows smoothly.&lt;/p&gt;

&lt;p&gt;Small change, big difference in feel.&lt;/p&gt;

&lt;p&gt;If you want to check out the PR: &lt;a href="https://github.com/DavidHDev/react-bits/pull/851" rel="noopener noreferrer"&gt;https://github.com/DavidHDev/react-bits/pull/851&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am a fullstack developer currently building projects with React, FastAPI, and PostgreSQL. You can see my work at &lt;br&gt;
&lt;a href="https://rahul-kumar-mall.vercel.app" rel="noopener noreferrer"&gt;https://rahul-kumar-mall.vercel.app&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>opensource</category>
      <category>performance</category>
      <category>react</category>
    </item>
  </channel>
</rss>
