Remove on-content-size-change handler

This commit is contained in:
Vitaliy Vlasov 2018-09-13 12:48:47 +03:00
parent d9e7d7c887
commit 62ba35972b
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 0 additions and 1 deletions

View File

@ -170,7 +170,6 @@
(when @scroll-timer (js/clearTimeout @scroll-timer))
(reset! scroll-timer (js/setTimeout #(re-frame/dispatch [:load-more-messages]) 300)))
(reset! scroll-height (+ y (.-height (.-layoutMeasurement ne))))))
:on-content-size-change #(.scrollToEnd @scroll-ref)
:ref #(reset! scroll-ref %)}
[react/view
(doall