elements
elements copied to clipboard
Can't click anything in responsive sidebar unless scrollbar is at the top
Context
This makes the responsive layout difficult to use on mobile.
Current Behavior
With a responsive layout, attempt to expand the sidebar, scroll at all and then try expand any of the sections - this will instead scroll you to the top of the sidebar.
Expected Behavior
Clicks should register and expand the section rather than scrolling to the top.
Possible Workaround/Solution
Users would have to use a different layout, such as sidebar or stacked.
Steps to Reproduce
- Go to https://deploy-preview-2599--stoplight-elements.netlify.app/?path=/story/public-api--responsive-layout
- Click on the 3 lines in the top left
- Scroll down slightly
- Attempt to click on, for example, Dashboards
https://github.com/stoplightio/elements/assets/94662631/fade293d-fe14-413e-9d26-9fc146f6edab
Environment
- Version used: 8.3.2
- Environment name and version: Chrome 125
- Operating System and version: Desktop
- Link to your environment/workspace/project: N/A, can be repro'd on Stoplight's own previews
This ticket has been labeled jira. A tracking ticket in Stoplight's Jira (PROVCON-2717) has been created.