Hi,
Next issues concerning TWebToast.
The project for repro steps in attachment.
toast.zip (1.7 MB)
Steps to repro:
Set 1:
- Click the button "Set and show toast first time"
the toast is showing with header and body "First time" - Click the button "Set and show toast second time"
the toast is showing with header and body "First time", why should be "Second time" ???
Set 2:
- Click the button "Set and show toast first time"
the toast is showing with header and body "First time" - Close the toast via cross
- Click the button "Set and show toast first time"
You got an error "List index 0 out of bounds"
When the toast is hidden via autohide ... the items is not deleted.
BTW ... if the item was deleted why I still see this toast tag on the element.
should be deleted too.
Set 3:
The same situation like in set 2 when I clear all items ... the items disappear from the items list but on the browser elements the toast div is exists ... why ???
- Click the button "Set and show toast first time"
the toast is showing with header and body "First time" - Click the button "Clear the toast items"
After that the Items list is empty but I still see the toast div in the elements.