Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[🐞]TOC: you can outscrolll the TOC #842

Open
TheMcnafaha opened this issue Jun 13, 2024 · 1 comment
Open

[🐞]TOC: you can outscrolll the TOC #842

TheMcnafaha opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
PKG: docs Improvements or additions to documentation TYPE: bug Something isn't working

Comments

@TheMcnafaha
Copy link
Member

Which package is affected?

Headless Kit

Describe the bug

You can outpace the TOC

Reproduction

https://github.com/TheMcnafaha/qwik-ui/tree/toc-bug

Steps to reproduce

  1. run code below: pnpm install; pnpm dev
  2. Go to the headless select
  3. Scroll all the way down the page
  4. look at TOC (won't follow you)

System Info

System:
    OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
    Memory: 944.52 MB / 7.51 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.21 - ~/.local/share/pnpm/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 8.11.0 - ~/.nvm/versions/node/v20.10.0/bin/pnpm
  Browsers:
    Chrome: 125.0.6422.141

Additional Information

There's a chance that this is intended behavior. I do want to make a qwik scroll area in the future to have a full qwik site, so this bug may not be the most important thing ever but I think it shows we need to have tests for all components even if they are private.

@TheMcnafaha TheMcnafaha added TYPE: bug Something isn't working STATUS-1: needs triage This doesn't seem right labels Jun 13, 2024
@maiieul maiieul added PKG: docs Improvements or additions to documentation and removed STATUS-1: needs triage This doesn't seem right labels Aug 21, 2024
@TheMcnafaha
Copy link
Member Author

I think we should remove this as a bug. This behavior is present in all TOC that I have seen that don't implement some big footer at the end.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
PKG: docs Improvements or additions to documentation TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants