My overflow-x scrollbar appears hidden behind the overflow y scrollbar. Is there a solution to resolve this issue?
The height and width are currently derived from the parent .wrapper
div, but despite being commented out, the overflow-x
property seems to default to scroll.
Any guidance on how to fix this would be greatly appreciated!
<template>
<div class="wrapper">
<vue-good-table
style="width: 100%"
class="issue-tracker-style"
:columns="columns"
:rows="rows"
:sort-options="{
enabled: false,
}"
>
<template v-slot:table-row="scope">
<div>
<div>{{ scope.formattedRow[scope.column.field] }}</div>
</div>
</template>
</vue-good-table>
</div>
</template>
<script>
export default {
...
};
</script>
<style lang="scss">
.wrapper {
border: 1px solid red;
width: 400px;
height: 200px;
overflow-y: scroll;
/* overflow-x: scroll; */
}
body {
...
</style>