mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Arrow for OverlayPanel
This commit is contained in:
parent
7dc10342af
commit
65562cda09
10 changed files with 22829 additions and 18725 deletions
|
@ -81,6 +81,10 @@ export default {
|
|||
},
|
||||
alignOverlay() {
|
||||
DomHandler.absolutePosition(this.$refs.container, this.target);
|
||||
|
||||
if (DomHandler.getOffset(this.$refs.container).top < DomHandler.getOffset(this.target).top) {
|
||||
DomHandler.addClass(this.$refs.container, 'p-overlaypanel-flipped');
|
||||
}
|
||||
},
|
||||
bindOutsideClickListener() {
|
||||
if (!this.outsideClickListener) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue