Skip to content
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

Add Scrollspy on the component sidebar "Content" options #17

Closed
Asfak00 opened this issue Oct 25, 2024 · 7 comments
Closed

Add Scrollspy on the component sidebar "Content" options #17

Asfak00 opened this issue Oct 25, 2024 · 7 comments
Assignees
Labels
Feature Request Suggestion for a new feature or component.

Comments

@Asfak00
Copy link
Owner

Asfak00 commented Oct 25, 2024

Is your feature request related to a problem? Please describe.
The issue arises when scrolling through the content of a webpage with a sidebar containing "Content" options. As the user scrolls through different sections of the page, the corresponding sidebar "Content" options are not dynamically highlighted or marked as active based on the currently visible section. This lack of synchronization between the sections and sidebar options can lead to confusion, as users may not easily know which section they are currently viewing.

Describe the solution you'd like
To fix this, you can implement a Scrollspy feature that tracks the scroll position and updates the active state of the sidebar options accordingly.

@Asfak00 Asfak00 added the Feature Request Suggestion for a new feature or component. label Oct 25, 2024
@Asfak00 Asfak00 moved this to Todo in ZenUI Workflow Oct 25, 2024
@nilaygit-10721
Copy link

can you assign me this issue?

@Asfak00
Copy link
Owner Author

Asfak00 commented Nov 7, 2024 via email

@danishzayan
Copy link
Contributor

@Asfak00 Assign me this issue.

@Asfak00
Copy link
Owner Author

Asfak00 commented Nov 11, 2024

@danishzayan done.

@danishzayan
Copy link
Contributor

@Asfak00

I have fixed this issue. give me some time i will push my code.

@Asfak00
Copy link
Owner Author

Asfak00 commented Nov 11, 2024 via email

@danishzayan
Copy link
Contributor

Merge Documentation

Completed Tasks

  • Added input contents configuration for all form components
  • Implemented scrollspy functionality for navigation
  • Created separate content configs for:
    • Text Input
    • File Input
    • Select Input
    • Checkbox Input
    • Radio Input
    • Strong Password
    • Number Input
    • Range Input
    • OTP Input
    • Switch Input
  • Tested scroll highlighting functionality
  • Code organized and properly structured

PR Details

PR #33 Created for merging: View Pull Request

Next Steps

  • work in progress for remaining scroll.

Testing Notes

  • Verified scroll behavior across all input components
  • Confirmed content highlighting works as expected
  • Tested navigation functionality

loom Video: https://www.loom.com/share/200d0ca0a9724be7bac05eccc54aa3c7?sid=5893863e-ff7e-455e-a0e0-3ffabad08100

@Asfak00 Asfak00 closed this as completed Nov 12, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in ZenUI Workflow Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Suggestion for a new feature or component.
Projects
Status: Done
Development

No branches or pull requests

3 participants