1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

Fixes mobile to use document as container for scrolling (#223)

* Uses intersectionObserver instead

* Use intersectionObserver

* Updates mods

* Adds title when more than one container is active

* Updates logic to use native scrolling when only one logger view is open

* Fixes broken test

* Uses close instead of closed

* Fixes scrollingParent
This commit is contained in:
Amir Raminfar
2020-01-06 16:28:45 -08:00
committed by GitHub
parent 86bb4e12b3
commit 678b197d6a
14 changed files with 146 additions and 92 deletions

View File

@@ -1,7 +1,7 @@
<template lang="html">
<div>
<infinite-loader :onLoadMore="loadOlderLogs" :enabled="messages.length > 100"></infinite-loader>
<slot v-bind:messages="messages"></slot>
<slot :messages="messages"></slot>
</div>
</template>