Revert maximize should not remove modal blockScroll #6905
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
If you have a PrimeNG PRO Support subscription please post your issue at;
https://pro.primefaces.org
where our team will respond within 4 business hours.
If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.
Current Waiting Time: ~8 weeks.
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/github-f9d8dx
Current behavior
If i set
modal
,blockScroll
andmaximizable
and open the dialog, the body scroll ist disabled.If i then maximize and revert the dialog, the body is scrollable.
Expected behavior
The body is not scrollable after revert maximize.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/github-f9d8dx
Here
this.blockScroll
should be checked.primeng/src/app/components/dialog/dialog.ts
Line 315 in 3605d41
I can send a PR. The fix will be very easy.
What is the motivation / use case for changing the behavior?
Simply because this is a bug. 😁
Please tell us about your environment:
Windows Server 2012R2, Windows 10 18.03
Language: all
Node (for AoT issues):
node --version
= v10.13.0The text was updated successfully, but these errors were encountered: