customer chat: compensate scroll on showScrollHint
This commit is contained in:
parent
b403a621a3
commit
08e410802d
1 changed files with 2 additions and 0 deletions
|
@ -690,6 +690,8 @@ class ChatWindow extends App.Controller
|
||||||
|
|
||||||
showScrollHint: ->
|
showScrollHint: ->
|
||||||
@scrollHint.removeClass('is-hidden')
|
@scrollHint.removeClass('is-hidden')
|
||||||
|
# compensate scroll
|
||||||
|
@scrollHolder.scrollTop(@scrollHolder.scrollTop() + @scrollHint.outerHeight())
|
||||||
|
|
||||||
onScrollHintClick: ->
|
onScrollHintClick: ->
|
||||||
# animate scroll
|
# animate scroll
|
||||||
|
|
Loading…
Reference in a new issue