Skip to content

Toast as a flash message #7

@cvkmohan

Description

@cvkmohan

Firstly, thanks for a great library. This does reduce the entry barrier for anyone who wants to implement Surface Components inside Phoenix LiveView.
Do you have any plans to implement bootstrap toast message as the flash message component?
I tried, multiple ways to implement toast inside LiveView - but - could not resolve the problem. In a regular Phoenix View, I could make it work. However, inside a LiveView, I could not implement the auto disappearing toast message synchronize with lv:clear-flash event?
I ventured to ask because I saw that you are using bootstrap native - and - handling the javascript in hooks. Just wanted to know if there is a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions