BUG #1771
Updated by Md. Abdul Hamid about 1 year ago
### **Redmine Issue: Modal Scrolling Issue**
**Subject**: Scrolling Behavior in Customer Modal Causes Page Scroll
**Description**:
When scrolling up or down in the **Customer Modal** of the **Online Invoice Generator**, the expected behavior is for the scroll to be restricted within the modal content. However, in some cases, scrolling affects the entire page, resulting in an unintended scroll of the main page in the background.
---
**Steps to Reproduce**:
1. Open the **Online Invoice Generator**.
2. Navigate to the **Customer** section.
3. Open the **Customer Modal** (e.g., "Add Saved Customer" or "Save New Customer").
4. Attempt to scroll up or down within the modal content.
5. Observe that sometimes the entire page scrolls instead of being restricted to the modal.
---
**Expected Behavior**:
- Scrolling should be restricted within the modal content only, and the main page should not scroll.
**Actual Behavior**:
- Scrolling sometimes affects the main page, causing the entire page to scroll.
---
**Impact**:
- Leads to a poor user experience as the modal loses focus when the page scrolls.
---
**Attachments**:
- https://drive.google.com/file/d/1M8niiXSYm2iRaiJdSZBoWpiIvZtfHaqB/view?usp=drive_link