Skip to content

Component Jitters at Screen Edges When Using v-motion Slide Presets Along Y-Axis #215

@3ein39

Description

@3ein39

System info

Nuxt.js: (3.8.2)

  • Vue Use Motion: (2.2.3)
  • Browser: (tried chrome, brave and firefox)
  • Operating System: Fedora Linux

Reproduction

Code Snippet:

<template>
  <div class="flex items-center justify-center h-[2000px]">
    <div id="box" class="bg-blue-400 rounded-2xl w-20 h-20 flex" v-motion-slide-visible-bottom>
    </div>
  </div>
</template>

Steps to Reproduce:

  1. Apply a v-motion slide preset that slides along the y-axis.
  2. Observe the component behavior when it approaches the edges of the screen.

Describe the bug

Hello,

I encountered an issue while using v-motion slide presets that involve sliding along the y-axis. The problem arises at the edges of the screen, where the component begins to jitter up and down. This behavior disrupts the smoothness of the animation.

Expected Behavior:

The component should slide smoothly without any jittering or unwanted up and down movement at the screen edges.

Actual Behavior:

The component jitters up and down when it reaches the edges of the screen, causing a disruption in the smoothness of the animation.

Additional Information:

I have recorded a video to demonstrate the issue.

Additional context

jittering

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions