Jump to content
Search Community

Inconsistency in element position after reload.

SpaceMoney-01011000

Go to solution Solved by SpaceMoney-01011000,

Recommended Posts

SpaceMoney-01011000
Posted (edited)

Greeting and salutations!

I'm in the process of building out a pre-loader and I have this little quirk that's driving me bananas. If you look at the pen, the overall feature is fairly self-explanatory;  it's a pre-loader that transitions to a second button face that encapsulates a "continue" button.

Now, then - with that said, on the mouseover event, there's an SVG arrow that animates to the right side of its parent element; which is working as expected. However, I've noticed that on occasion, the SVG arrow (or rather its container - a span) doesn't position it self in the same spot 100%.

I've been pulling my hair out trying to understand why, and I'm about to down a fifth of Jack Daniels. I was wondering if some of you wonderful people would be gracious to my beggarly self and perhaps take a peek at it?

I've included two images to illustrate the issue to keep you from having to refresh the page to catch the error.

Kind regards,

X.

Right!
image.png.ffb2aa68bc0d22fa04988fbf53a4b2b7.png

WRONG!!!
image.png.2997e6bddbdafb9cbec7b40ece97307e.png

See the Pen eYbodZR?editors=0010 by scottonanski (@scottonanski) on CodePen.

Edited by SpaceMoney-01011000
Poorly educated. Bad spelling.
  • Solution
SpaceMoney-01011000
Posted

Okay, I figured it out. Had to adjust some calculations.

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...