Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

AniLink background color not updating per link #247

Open
donttalktorobots opened this issue Nov 17, 2020 · 8 comments
Open

AniLink background color not updating per link #247

donttalktorobots opened this issue Nov 17, 2020 · 8 comments

Comments

@donttalktorobots
Copy link

donttalktorobots commented Nov 17, 2020

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>
@jonoroboto
Copy link

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

@jonoroboto
Copy link

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

@pdelfan
Copy link

pdelfan commented Dec 3, 2020

I have the same issue as well.

@skimaharvey
Copy link

Same issue here.

@daledesilva
Copy link

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

@sathyaram
Copy link

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

@bichan17
Copy link

also having this issue on version 1.20.5

@OTaylorUK
Copy link

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....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants