If you make the nesting structure of one to another. That is 2 buttons to add a line. When you click on the second button. Added 2 lines instead of 1st. Click triggered 2 times in a row.
But it works fine when you click on the first add button. And it adds 1 line as well.
If you make the nesting structure of one to another. That is 2 buttons to add a line. When you click on the second button. Added 2 lines instead of 1st. Click triggered 2 times in a row.
But it works fine when you click on the first add button. And it adds 1 line as well.