Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockUI fullscreen adds padding-right: var(--scrollbar-width) to the <body> #5031

Closed
mtsh1000 opened this issue Oct 4, 2023 · 5 comments
Closed
Assignees
Labels
Status: Needs Reproducer Issue needs a runnable reproducer

Comments

@mtsh1000
Copy link

mtsh1000 commented Oct 4, 2023

Describe the bug

BlockUI fullscreen adds padding-right: var(--scrollbar-width) to the

Reproducer

https://codesandbox.io/s/sad-morse-54s6j2?file=/src/App.js

PrimeReact version

10.0.3

React version

18.x

Language

ES6

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@mtsh1000 mtsh1000 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 4, 2023
@melloware
Copy link
Member

@ulasturann added this in this ticket: #4958

@melloware melloware assigned ulasturann and habubey and unassigned ulasturann Oct 4, 2023
@melloware melloware added Status: Needs Reproducer Issue needs a runnable reproducer and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 11, 2023
@github-actions
Copy link

Please create a reproducer as its the only way developers can debug your issue. This issue will be closed if no activities in 20 days.

@mtsh1000
Copy link
Author

mtsh1000 commented Oct 17, 2023

added reproducer and screenshot:

obraz

here the scrollbar-width is 0 but in my app it becomes 22px for some reason

@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Reproducer Issue needs a runnable reproducer labels Oct 17, 2023
@melloware
Copy link
Member

Yeah so I can't reproduce your issue. When the blockUI appears fullscreen it removes the scrollbar to 0 as it should. When the BlockUI goes away it reinstates the scrollbar. I don't know why yours is 22px without a reproducer that proves the issue?

@melloware melloware added Status: Needs Reproducer Issue needs a runnable reproducer and removed Type: Bug Issue contains a defect related to a specific component. labels Oct 17, 2023
@github-actions
Copy link

Please fork the CodeSandbox project or Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Reproducer Issue needs a runnable reproducer
Projects
None yet
Development

No branches or pull requests

4 participants