surface-ui / surface_bootstrap

MIT License
17 stars 9 forks source link

Toast as a flash message #7

Open cvkmohan opened 3 years ago

cvkmohan commented 3 years ago

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.

olivermt commented 3 years ago

I am going to release this within a week! And again sorry as I write on every issue, I try to check often but I am struggling a lot to get notifications via email for stuff in this repo.

Only direct mentions seems to work.