Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition "Wiggling" in Chrome #1

Open
alacritythief opened this issue Apr 1, 2015 · 1 comment
Open

Transition "Wiggling" in Chrome #1

alacritythief opened this issue Apr 1, 2015 · 1 comment

Comments

@alacritythief
Copy link

Thanks for making space.js! I've been testing it out, and I wanted to note a visual glitch I see in Chrome, but not Firefox:

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <script type="text/javascript" src="jquery-2.0.2.min.js"></script>
  </head>
  <body>
    <div class="space-frame" data-duration="1">
      <section class="space-inner-frame">
        <!-- Clear frame -->
      </section>
    </div>

    <div class="space-frame" data-enter="fadeIn" data-exit="fadeOut" data-transition="fadeIn" data-duration="5">
      <section class="space-inner-frame">
        <p>Demo 1</p>
      </section>
    </div>

    <div class="space-frame" data-enter="slideInRight" data-transition="rotate360" data-duration="5">
      <section class="space-inner-frame">
        <p>Demo 2</p>
      </section>
    </div>

    <div class="space-frame" data-enter="slideInLeft" data-transition="rotate360" data-duration="5">
      <section class="space-inner-frame">
        <p>Demo 3</p>
      </section>
    </div>

    <script type="text/javascript" src="space.min.js"></script>
  </body>
</html>

The text tends to "wiggle" up and down while scrolling to the 2nd and 3rd transitions, and I'm trying to hone down what's causing it.

@gopatrik
Copy link
Owner

gopatrik commented Apr 1, 2015

Oh! You're right! Thanks for reporting! No problem in Safari either! Looking into it! I think Chrome has their own implementation of scrolling.

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

No branches or pull requests

2 participants