Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unwanted hover effects

See original GitHub issue

Describe the bug I’m creating a normal translate effect that should move my imgs when scrolling. However whenever I hover over the container the translate effect start running while it still works when scrolling but why is there anything happening on hover?

To Reproduce Steps to reproduce the behavior:

    <div class="max-w-[40%]">
            class="flex flex-row items-center justify-center self-center justify-self-center"
            <kinesis-element class="self-start" :originY="60" :strength="120">
                <img src="/images/iblog.png" alt="" />

            <div><img src="/images/isaidcodenoi.png" alt="" /></div>

                <img src="/images/exblog.png" alt="" />

Expected behavior Nothing should be happening unless I scroll. but the issue is that when i hover over the container things starts to move

Screenshots Here’s a gif to show that effects activated on hover while it should be only on scroll


Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

Aminermancommented, Mar 9, 2022

Thanks for letting me know about this. I’ll give it a look and come back to you.

MooseSaeedcommented, Apr 24, 2022

@aminerman Any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove unwanted hover effect [duplicate] - Stack Overflow
The movement comes from the border being added and removed on hover. An easy fix is to give the h2 element a transparent...
Read more >
Menu hover effect causes unwanted movement - CSS-Tricks
I want to include a hover effect for each of my menu items. When I hover over each item I want the text...
Read more >
How to stop a link/button from moving on hover
The trick is you need to create the effect BEFORE creating the hover effect. In other words it needs to exist before the...
Read more >
How to Remove the CSS :hover Behavior from an Element
To remove the CSS hover effect from a specific element, you can set the pointer-events property of the element (the hover behavior of...
Read more >
Hover.css - A collection of CSS3 powered hover effects
A collection of CSS3 powered hover effects to be applied to call to actions, buttons, logos, featured images and so on. Easily apply...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found