Skip to content

[BUG] Toast aren't not working correctly since 1.12.22 #762

@78wesley

Description

@78wesley

Describe the bug
Since PR #758 the toast messages are not floating anymore on page load, but are added to the bottom of the page.

Minimal Reproducible Example
To test it within version 0.12.22 go to https://fasthtml-test-toaster.vercel.app/
(I've also tested locally with version 0.12.19, 0.12.20 and 0.12.21 which have no problems

Go to this GitHub page to run it yourself to test the versions: https://github.com/78wesley/fasthtml-test-toaster

Expected behavior
Toast should be floating on page load like in the example link of version 0.12.19.

Environment Information
Please provide the following version information:

  • fastlite version: 0.1.4
  • fastcore version: 1.8.2
  • fasthtml version: 1.12.22

Confirmation
Please confirm the following:

  • I have read the FAQ (https://docs.fastht.ml/explains/faq.html)
  • I have provided a minimal reproducible example
  • I have included the versions of fastlite, fastcore, and fasthtml
  • I understand that this is a volunteer open source project with no commercial support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions