primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.95k stars 1.25k forks source link

Dialog vue 3 scroll after close #6835

Open zdimaz opened 1 week ago

zdimaz commented 1 week ago

Describe the bug

Dialog vue 3 When Dialog is closed window scroll to target (trigger) open element (button or block);

Reproducer

https://primevue.org/dialog/

PrimeVue version

https://primevue.org/dialog/

Vue version

4.x

Language

ALL

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

You can see it in the demo

Make the button bigger, scroll it so that it is not fully visible, click on it, a dialog will open, close it and then the page will scroll up

keepInViewPort not working

Expected behavior

You can see it in the demo

Make the button bigger, scroll it so that it is not fully visible, click on it, a dialog will open, close it and then the page will scroll up

keepInViewPort not working

github-actions[bot] commented 1 week ago

We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days.