P
P
po4emu4ka20202021-04-08 08:29:08
AJAX
po4emu4ka2020, 2021-04-08 08:29:08

How to remove content shift when hover is triggered on an element loaded during AJax loading?

Hello!
I ran into an interesting bug. I ask for help, because the behavior is very strange. Implemented Ajax loading of elements in the catalog.

You can see it here: https://vk.cc/c0Fyyo

Everything works fine, but there is one BUT. When hovering over an element, detailed information about it should be opened, and there should not be a shift of elements. But on elements loaded via Ajax, this shift occurs.
606e948887432473817944.png

But the most interesting thing is this: if I open the developer console, the BUG disappears.
606e949cc1290601142721.png

Tell me, please, where to dig? What could be the problem?
I will be glad to any advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Chernenko, 2021-04-08
@po4emu4ka2020

The functionality tells you that .box_hover should be absolut))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question