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

docs: Anchors does not work for drawer page #drawer #2868

Closed
svitiashchuk opened this issue Feb 24, 2024 · 3 comments
Closed

docs: Anchors does not work for drawer page #drawer #2868

svitiashchuk opened this issue Feb 24, 2024 · 3 comments

Comments

@svitiashchuk
Copy link

On which page do you see this issue?

https://daisyui.com/components/drawer/

Describe the issue

There is a peculiar behavior on the drawer page.

When copying a link to a particular section - https://daisyui.com/components/drawer/#drawer and navigating to that link, the page does not scroll, and it appears to be frozen (dropdowns, search and some other elements are not clickable).

Steps to reproduce:

My guess that's due to the input#drawer element on that page.

<input id="drawer" type="checkbox" class="drawer-toggle">

What browsers are you seeing the problem on?

All browsers

Copy link

Thank you @svitiashchuk for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@TheWilley
Copy link

TheWilley commented Feb 24, 2024

I can confirm that the issue seems to be the input ID. After cloning the repo and changing its ID to literally anything else the problem was resolved.

@saadeghi
Copy link
Owner

Do you have any other item with the same if on the page?

changing its ID to literally anything else the problem was resolved

@svitiashchuk does this fix the issue?

@saadeghi saadeghi closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants