So i managed to fix the error. All i did was setting the hight of my child object and for whatever reason it works. Here are the nessesary snippets i used.
<template>
<q-page>
. . .
<q-scroll-area class="fit">
<object :data="selectedFile" class="full-width" :height="height" />
<q-scroll-area>
<q-resize-obeserver @resize="updateHeights()" />
</q-page>
</template>
<script>
import { dom } from "quasar";
. . .
export default {
name: "PageIndex",
data() {
return {
. . .
height: 0
}
},
. . .
methods: {
. . .
updateHeights() {
this.height = window.innerHeight - dom.offset(this.$el).top;
}
},
mounted() {
this.updateHeights();
}
}
I hope this helps everybody who stumbles into a similar issue.