Open
Description
What happened?
Description
After setting or adjusting any quantity on the inventory screen, the page no longer scrolls after closing the modal. I believe this has to do with the code of CpModal.js, because I observe the same problem in a plugin I'm building that is using that component.
Steps to reproduce
- Go to inventory screen.
- Click 'set quantity' for any purchasable and any inventory type.
- Close the modal.
- Try to scroll.
Expected behavior
The page still scrolls after closing the modal.
Actual behavior
The page no longer scrolls.
Craft CMS version
5.7.7
Craft Commerce version
5.3.12
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response