We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55de4f0 commit 127702bCopy full SHA for 127702b
dev/components/components/context-menu.vue
@@ -30,7 +30,7 @@
30
</p>
31
32
<div
33
- style="height: 300px; margin-top: 40px;"
+ style="height: 600px; margin-top: 40px;"
34
class="bg-secondary text-white row items-stretch"
35
>
36
<div class="col-6 flex flex-center" v-for="n in 4" :key="n" >
src/components/popover/QPopover.js
@@ -130,10 +130,10 @@ export default {
130
this.$el.style.minWidth = width(this.anchorEl) + 'px'
131
}
132
const
133
- { top } = this.anchorEl.getBoundingClientRect(),
+ { top, bottom } = this.anchorEl.getBoundingClientRect(),
134
{ height } = window.innerHeight
135
136
- if (top < 0 || top > height) {
+ if (bottom < 0 || top > height) {
137
return this.hide()
138
139
0 commit comments