gatsby-plugin-transition-link icon indicating copy to clipboard operation
gatsby-plugin-transition-link copied to clipboard

AniLink background color not updating per link

Open donttalktorobots opened this issue 4 years ago • 8 comments

I want each AniLink to have a different background color transition for "cover", but the transition only shows the first "bg" prop defined in the component. Am I missing something simple that will fix this?

Here is how I have my links set up, right now each transition only shows #9D2407:

           <li>
            <AniLink
              cover
              to="/delivery-kitchens/"
              direction="up"
              duration={1}
              bg="#9D2407"
              className="btn--text color--grey-5"
            >
              Delivery Kitchens
            </AniLink>
          </li>
          <li>
            <AniLink
              cover
              to="/technology/"
              direction="up"
              duration={1}
              bg="#B7661B"
              className="btn--text color--grey-5"
            >
              Technology
            </AniLink>
          </li>

donttalktorobots avatar Nov 17 '20 05:11 donttalktorobots

Bumping this, we're having the exact same issue. Would be unbelievably helpful to get this working.

jonoroboto avatar Nov 30 '20 12:11 jonoroboto

Just to add, happy to create codepen to show this in action

jonoroboto avatar Nov 30 '20 12:11 jonoroboto

I have the same issue as well.

pdelfan avatar Dec 03 '20 19:12 pdelfan

Same issue here.

skimaharvey avatar Jan 11 '21 17:01 skimaharvey

Same... even with one bg=hex and one bg=url

daledesilva avatar Jan 22 '21 04:01 daledesilva

Bumping as well - issue is still persistant. bg/hex don't work and adding 'paintDrip' creates a duplicate link.

sathyaram avatar Feb 28 '21 03:02 sathyaram

also having this issue on version 1.20.5

bichan17 avatar Apr 20 '21 16:04 bichan17

Still having this issue, would be great to get a fix although seems unlikely seeing as this appears to be an unfixed bug from 2020....

OTaylorUK avatar Feb 25 '22 10:02 OTaylorUK