[BUG #2241] Fullscreen webview don't overlap topbar
This commit is contained in:
parent
0273043265
commit
eaa63c265e
|
@ -80,12 +80,8 @@
|
||||||
:reagent-render
|
:reagent-render
|
||||||
(fn [{:keys [draggable? custom-header]} & elements]
|
(fn [{:keys [draggable? custom-header]} & elements]
|
||||||
@to-changed-height @changes-counter @max-height
|
@to-changed-height @changes-counter @max-height
|
||||||
(let [{expandable-offset :expandable-offset
|
(let [bottom (+ @input-height @chat-input-margin)
|
||||||
status-bar-height :height} (get-in p/platform-specific [:component-styles :status-bar :main])
|
height (if @fullscreen? @max-height anim-value)]
|
||||||
bottom (+ @input-height @chat-input-margin)
|
|
||||||
height (if @fullscreen?
|
|
||||||
(+ @max-height status-bar-height expandable-offset)
|
|
||||||
anim-value)]
|
|
||||||
[view style/overlap-container
|
[view style/overlap-container
|
||||||
(when (and (not hide-overlay?)
|
(when (and (not hide-overlay?)
|
||||||
(not @fullscreen?))
|
(not @fullscreen?))
|
||||||
|
|
Loading…
Reference in New Issue