Project

General

Profile

BUG #3868

Updated by Nazmul Hossain Shovon 4 months ago

### Description 
 The **pagination** functionality is not behaving correctly.   
 When the user reaches the **last page**, the **"Next"** button should automatically be disabled.   
 However, the button remains active, allowing users to click it even though no additional pages exist. 

 **Screens:** Desktop (≥768px)  
 **Tested By:** Aman Bhuiyan   

 --- 

 ### Steps to Reproduce 
 1. Open the PQS Japan staging website.   
 2. Navigate to any product listing page with pagination.   
 3. Click through the pages until reaching the **last page**.   
 4. Observe the **Next** button state. 

 --- 

 ### Expected Result 
 The **Next** button should be disabled on the last page, indicating there are no more pages to navigate. 

 ### Actual Result 
 The **Next** button remains active even on the last page, allowing unnecessary interaction and causing navigation confusion. 

 --- 

 ### Attachments 
 - [Screenshot](https://drive.google.com/file/d/1x8jXxdagbBC1Z45Ts-gDEmQFm6cgdAgZ/view?usp=sharing) 

 ### Module / Section 
 Pagination / Product Listing Pages 

 --- 

 ### Root Cause: 
 no disabled class added 

 --- 

 ### Impacted Area: 
 pagination next button

Back