WPB-8671 [Web] Folder list popup does not open if sidebar was force collapsed
Description
The folder list popup does not open if the sidebar was force collapsed due to reducing the window width. However, if the sidebar was manually collapsed, the folder list popup appears as expected.
Fix
This pull request fixes the issue by ensuring the folder list popup always appears when clicking on the folder icon, regardless of whether the sidebar was collapsed automatically due to reduced window width or manually by the user.
Changed isSideBarOpen logic to correctly handle automatic sidebar collapse based on screen width.
Description
The folder list popup does not open if the sidebar was force collapsed due to reducing the window width. However, if the sidebar was manually collapsed, the folder list popup appears as expected.
Fix
This pull request fixes the issue by ensuring the folder list popup always appears when clicking on the folder icon, regardless of whether the sidebar was collapsed automatically due to reduced window width or manually by the user.
isSideBarOpen
logic to correctly handle automatic sidebar collapse based on screen width.