-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the sticky feature optional #57
Comments
I think my preference would be to add Alternatively, we could apply a similar technique to the navigation and style panels, allowing the preview to scroll with the window as per default behaviour, but avoiding the original issue of the style panel causing the page to become long. Either way I feel like it would be good to avoid adding a toggle for the sticky behaviour if possible |
Worth revisiting again in line with #62 as we're now going to have a much longer 'preview' with the full |
What if we split the UI by Might make it more manageable |
Here's a mockup of what this would look like with a few CSS changes. I think this would be the quickest and safest option for the time being: Screen.Capture.on.2024-06-06.at.20-28-40.mp4 |
Following on from @g-elwell's suggestion, if the panel overflow scrolling is implemented, it might be useful on the UI side to visually retain the level structure within the expanded elements. I've created a rough demo which shows how this could work, also using CSS |
@thatisrich that's a brilliant suggestion, I love it! I would like to split that into it's own issue if you don't mind creating one? I'd like us to implement it at some point after the v1 release. |
Great stuff, I'll create a separate issue and refine the approach! |
What problem does this address?
The fix for issue 52 adds an additional problem where preview screens that extend the height of the page will be awkward to view.
I discussed this issue with @jonnywatersbb and we decided that seeing as 99% of the time the preview will be contained within the page, it was better to run with the sticky feature before looking at this fix.
What is your proposed solution?
We should add a button to turn sticky off when needed
The text was updated successfully, but these errors were encountered: