I noticed when I refresh the page, I can see a horizontal scrollbar. However, if I resize the browser window it goes away and recalculates the grid items correctly again.
I can easily add an overflow-y: hidden to remove but it's not really a solution as the right side items will be cutoff and not fully shown.
I also tried adding:
ref="stacker"
and then a button to call a method:
<b-button @click="reflow">reflow</b-button>
reflow() {
this.$refs.stacker.reflow()
}
which does work but adding it to mounted to do it automatically doesn't seem to do anything.
Is there any workaround or fix to remedy this situation?
I noticed when I refresh the page, I can see a horizontal scrollbar. However, if I resize the browser window it goes away and recalculates the grid items correctly again.
I can easily add an overflow-y: hidden to remove but it's not really a solution as the right side items will be cutoff and not fully shown.
I also tried adding:
ref="stacker"and then a button to call a method:
which does work but adding it to mounted to do it automatically doesn't seem to do anything.
Is there any workaround or fix to remedy this situation?