Open slider23 opened 3 months ago
Primevue 4 ConfirmDialog has classic modal UI issue - content (or only right edge of content - on small screens) shifting on browsers with non-zero scrollbar widths. For example, Chrome on Linux. Primevue 3 is free from such a issue. See the gif:
https://primevue.org/confirmdialog/
4
4.x
TypeScript
Vue CLI App
Any browser on Linux or Windows (not MacOs)
Сontent under the modal window should not shift. Like on https://v3.primevue.org/confirmdialog/
Same problem
https://github.com/primefaces/primeuix/blob/main/packages/utils/src/dom/helpers/blockBodyScroll.ts#L6
Describe the bug
Primevue 4 ConfirmDialog has classic modal UI issue - content (or only right edge of content - on small screens) shifting on browsers with non-zero scrollbar widths. For example, Chrome on Linux. Primevue 3 is free from such a issue. See the gif:
Reproducer
https://primevue.org/confirmdialog/
PrimeVue version
4
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Any browser on Linux or Windows (not MacOs)
Steps to reproduce the behavior
Expected behavior
Сontent under the modal window should not shift. Like on https://v3.primevue.org/confirmdialog/