There are three buttons, ‘OpenClick’, ‘updateClick’, ‘ResetClick’
The expected result is like this:
-
if I click the ‘OpenClick’ button, it will show like this –
-
if I click the ‘updateClick’ button, it will show like this –
-
and if I click the ‘ResetClick’, it will show like this –
But the actual result is, when I click on the first two buttons, it shows correctly. But when I click the ‘resetClick’ button (after the ‘updateClick’), it shows this –
Obviously it is not correct.
I don’t know how to solve it. Can u help me? Thanks.
This is my demo url: https://codepen.io/Yaoyyy/pen/PLvJJX