<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Hi Adam,</div><div class="gmail_extra"><br></div><div class="gmail_extra">It took me some time, but after a lot of code removal (FFI, database and logic) I believe I have a small test case that shows the bug. You can get it with the command</div><div class="gmail_extra"><br></div><div class="gmail_extra">git clone -b bug <a href="https://github.com/saulo2/timesheet-ur.git">https://github.com/saulo2/timesheet-ur.git</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">To reproduce the bug, follow the steps below:</div><div class="gmail_extra"><br></div><div class="gmail_extra">1) click the first button (a list of other buttons will be shown below the first button)</div><div class="gmail_extra">2) click the button associated to "Project 1"</div><div class="gmail_extra">3) click the first button again (the list of buttons will be hidden)</div><div class="gmail_extra">4) click the first button one last time (a JavaScript alert saying "Failed to execute append child on Node..." will be shown)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, I found out that if you change line 76 from</div><div class="gmail_extra"><br></div><div class="gmail_extra"><button dynClass={dynClass} onclick={onclick}></div><div class="gmail_extra"><br></div><div class="gmail_extra">to</div><div class="gmail_extra"><br></div><div class="gmail_extra"><button onclick={onclick}></div><div class="gmail_extra"><br></div><div class="gmail_extra">the bug does not show up. Therefore, maybe the bug is related to the dynClass JavaScript function.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If is there anything else that I can do to help, please let me know.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Sincerely,</div><div class="gmail_extra">Saulo</div></div></div>