exposed scrollpos for content area

This commit is contained in:
booploops 2022-03-11 01:59:59 -08:00
parent 437c0cd389
commit 57fd94dc72
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<div id="app-content" scrollaxis="y" :style="{'overflow': (chrome.contentAreaScrolling ? '' : 'hidden')}">
<div id="app-content" @scroll.passive="setContentScrollPos" :scrollpos="chrome.contentScrollPosY" scrollaxis="y" :style="{'overflow': (chrome.contentAreaScrolling ? '' : 'hidden')}">
<div id="navigation-bar">
<button class="nav-item" @click="navigateBack()">
<%- include('../svg/chevron-left.svg') %>