Unwanted hover effects
See original GitHub issueDescribe 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:
<template>
<div class="max-w-[40%]">
<kinesis-container
event="scroll"
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="" />
</kinesis-element>
<div><img src="/images/isaidcodenoi.png" alt="" /></div>
<kinesis-element
class="self-end"
type="translate"
:originY="60"
:strength="120"
>
<img src="/images/exblog.png" alt="" />
</kinesis-element>
</kinesis-container>
</div>
</template>
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:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for letting me know about this. I’ll give it a look and come back to you.
@aminerman Any updates?