Don't re-open bottom sheet if now closing
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
fa4968f22c
commit
b7bc7c4e5d
|
@ -157,7 +157,7 @@
|
||||||
(fn []
|
(fn []
|
||||||
(when (and (> height min-height)
|
(when (and (> height min-height)
|
||||||
@visible)
|
@visible)
|
||||||
(animated/block
|
(animated/cond* (animated/not* manual-close)
|
||||||
[(animated/stop-clock clock)
|
[(animated/stop-clock clock)
|
||||||
(animated/set open-snap-point (* -1 sheet-height))
|
(animated/set open-snap-point (* -1 sheet-height))
|
||||||
(animated/set manual-open 1)])))
|
(animated/set manual-open 1)])))
|
||||||
|
|
Loading…
Reference in New Issue