Open timbrnbrr opened 2 years ago
Hi @timbrnbrr, did you find a solution ? I have the exact same type of bug, in a different context : redirect to a different page after a button click, after triggering a database insert statement. The bug does not always occur, so I'm not sure what's happening.
The time.sleep() trick seems to work in my case too.
Describe your context
Describe the bug
I have implemented a simple editor, which enables you to add and delete rows using a pattern-matching-callback. Each row contains a delete-button, which is target of a
dbc.Tooltip
.When deleting the very last row, an error occurs when returning adjusted children for div
selection-area
:selection_elements
is the object from the above error.time.sleep(1)
, the bug doesn't occur.dbc.Tooltip
.Full runnable code for investigation of the bug:
Expected behavior
Deletion of the last row containing a delete-button which is target of a
dbc.Tooltip
should behave the same way as deletion of rows from the middle or top.