Fork me on GitHub
#re-frame
<
2018-04-10
>
hkjels07:04:47

Your trying to scroll to the bottom of the :div on any change?

hkjels07:04:49

Ohh. Just noticed that I’m really late to the scene here

genRaiy08:04:45

@hkjels yes that’s what I’m trying to achieve

hkjels08:04:52

I’m not able to see any obvious problems with that snippet in that regard

hkjels08:04:22

I’m not familiar with re-com, but it does look like you have a wrapper there that might be making this difficult for you scroller

hkjels08:04:32

looks like you should feed scroller with that scoll-value instead

parrot 4
genRaiy08:04:05

that’s logical

👍 4
genRaiy08:04:22

I’m pretty sure I tried that but it was late at night 😉

genRaiy08:04:35

LOL yes that works

👍 4
genRaiy08:04:03

thanks - I should learn to stop coding after midnight !

oVerde20:04:01

So, noob question re-frame: no :event handler registered for: What does it usually means?

[:button {:on-click (re-frame/dispatch [::e/sign-in])} "sign-in"]]
(re-frame/reg-event-fx
  :sign-in
  (fn [_ _] {:firebase/google-sign-in {:sign-in-method :popup}}))

oVerde21:04:25

forgot to ::sign-in

oVerde21:04:18

oh no.. now it’s firing automatically.. guess it didn’t solved

joelsanchez21:04:18

you're calling dispatch instead of creating a function that calls dispatch

joelsanchez21:04:37

[:button {:on-click #(re-frame/dispatch [::e/sign-in])} "sign-in"]]