I want to scroll down to the bottom of a div for, what else, a chat app. Right now I'm using element.scrollTop = element.scrollHeight and it works fine with just javascript and html. Once I port the div to Elm, however, the function doesn't scroll all the way down. Am I missing something with how javascript interacts with the virtual dom? Is there an alternative solution?
-- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.