File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
packages/app-frontend/src/features/timeline Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -197,10 +197,11 @@ export default defineComponent({
197
197
filter ,
198
198
filteredEvents ,
199
199
itemHeight ,
200
- inspectedEvent ,
200
+ isAtScrollBottom ,
201
201
inspectEvent ,
202
202
selectEvent ,
203
203
onScroll ,
204
+ scrollToBottom ,
204
205
}
205
206
},
206
207
})
@@ -209,7 +210,7 @@ export default defineComponent({
209
210
<template >
210
211
<div
211
212
v-if =" selectedEvent && selectedLayer"
212
- class =" h-full flex flex-col"
213
+ class =" h-full flex flex-col relative "
213
214
>
214
215
<div class =" flex-none flex flex-col items-stretch border-gray-200 dark:border-gray-800 border-b" >
215
216
<VueGroup
@@ -254,6 +255,14 @@ export default defineComponent({
254
255
/>
255
256
</template >
256
257
</RecycleScroller >
258
+
259
+ <VueButton
260
+ v-if =" !isAtScrollBottom"
261
+ v-tooltip =" 'Scroll to bottom'"
262
+ icon-left =" keyboard_arrow_down"
263
+ class =" icon-button absolute bottom-1 right-4 rounded-full shadow-md"
264
+ @click =" scrollToBottom()"
265
+ />
257
266
</div >
258
267
259
268
<EmptyPane
You can’t perform that action at this time.
0 commit comments