Fixed & UI Enhancement: Makes the Sidebar Sticky #172
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes Made in this Pull Req.
I have made the Changes in the Sidebar #134
👉Made Sidebar Sticky: I've made the Sidebar sticky, which ensures that it remains fixed on the screen while the user scrolls. This enhancement provides a more consistent and user-friendly experience, especially on longer web pages.
👉Disabled Scrolling on Mobile: I've implemented a solution to disable scrolling on mobile devices when the sidebar is opened. This improvement is significant for mobile users as it prevents the Sidebar from interfering with their ability to scroll through the main content. It ensures that the Sidebar functions smoothly on mobile screens without affecting the rest of the page.
👉Fixed Sidebar Cutting Content: The changes also include a fix for an issue where the Sidebar was partially covering the content. With these modifications, the Sidebar no longer obstructs the main content and allows for better content visibility and interaction.
Why it should be merged🤔?
These changes have been thoroughly tested and are working as expected on various browsers, including Chrome, Firefox, and mobile devices. They not only enhance the user experience but also ensure that the Sidebar behaves consistently across different screens and browsers.
I recommend merging these changes to improve the overall usability and functionality of the Sidebar component, resulting in a better user experience for both desktop and mobile users.
Video
bandicam.2023-10-22.17-28-41-598.mp4