Dialog component scrollbar shift #13732
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
When opening a modal Dialog, the scrollbar is removed which results in a 15px shift on the body
Expected Behavior
No shift when opening a modal
Current Behavior
With modal property set to true (adds
p-overflow-hidden
class in body), the scrollbar is removed which creates a 15px shift.Possible Solution
Steps to Reproduce
[modal]="true"
Description
I'm suggesting to change the modal behaviour so that the shift induced by the scrollbar removal is no longer visible.
Reference issue on PrimeVue: primefaces/primevue#882
Affected components:
The text was updated successfully, but these errors were encountered: