TicketZoom: don’t show scroll-header when its not needed
fixes the bug mentioned here: https://community.zammad.org/t/chrome-min-height-101/1004
This commit is contained in:
parent
5ac5932320
commit
dc884fc604
1 changed files with 1 additions and 0 deletions
|
@ -386,6 +386,7 @@ class App.TicketZoom extends App.Controller
|
|||
# if page header is not possible to use - mainScrollHeigth to low - hide page header
|
||||
if not mainScrollHeigth > mainHeigth + headerHeight
|
||||
@scrollPageHeader.css('transform', "translateY(#{-headerHeight}px)")
|
||||
return
|
||||
|
||||
if scroll > headerHeight
|
||||
scroll = headerHeight
|
||||
|
|
Loading…
Reference in a new issue