S
S
Stepan2015-12-08 18:39:15
JavaScript
Stepan, 2015-12-08 18:39:15

How to undo one of the clicks in React?

There is one class, it has a common div, and onClick is hung on it.
And in this div there is another div, onClick is also hung on it.
If I click on the nested div, it works, but the onСlick from the outer div also works.
How to avoid it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan, 2015-12-08
@xoma2

It worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question