icehaunter / vue3-datepicker

Simple datepicker component for Vue 3
https://icehaunter.github.io/vue3-datepicker/
MIT License
150 stars 153 forks source link

Pop-up appearing out of page when the date picker button is at the right side of screen #80

Open Paper-Folding opened 2 years ago

Paper-Folding commented 2 years ago

image

As you can see, if the button is at the right side of screen, pop-out did not adjust itself to appear at a correct position.

Paper-Folding commented 2 years ago

Currently I can add this piece of scss to solve this, but could you plz make it detect position automatically? :

::v-deep() {
    .v3dp__popout {
        right: 0;
    }
}
eliran-positive commented 2 years ago

@icehaunter It be nice if you will add detect position automatically Have same issue