S
S
Sergey Minakov2017-01-19 08:25:32
css
Sergey Minakov, 2017-01-19 08:25:32

Why does it jump to the parent element's link and how to fix it?

There is a drop-down menu, but when you click on its item, you go to the link of the 'Menu' button itself.
Here is the menu itself on JSFiddle .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
Xozin, 2017-01-19
@Xozin

For the simple reason that the #touch-menu element loses its focus state before the list element is clicked. It is worth making the fallout by other means :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question