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

SiteNav dropdown buttons shift when scrollbar appears/disappears #2217

Closed
itsyme opened this issue Mar 15, 2023 · 5 comments
Closed

SiteNav dropdown buttons shift when scrollbar appears/disappears #2217

itsyme opened this issue Mar 15, 2023 · 5 comments

Comments

@itsyme
Copy link
Contributor

itsyme commented Mar 15, 2023

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

MacOS

MarkBind version

4.1.0

Describe the bug and the steps to reproduce it

Collapse all dropdowns in SiteNav. Expand dropdowns till scrollbar appears and notice the position of the dropdown buttons.

Expected behavior

Dropdown buttons should remain in place even when the scrollbar toggles.

Anything else?

No response

@ang-zeyu
Copy link
Contributor

Was this fixed? The caret is a little off center when the dropdown is collapsed but I can't seem to notice anything on markbind.org or the latest commit related to the scrollbar particularly.

@itsyme
Copy link
Contributor Author

itsyme commented Apr 26, 2023

Was this fixed? The caret is a little off center when the dropdown is collapsed but I can't seem to notice anything on markbind.org or the latest commit related to the scrollbar particularly.

Hi @ang-zeyu! It hasn't been fixed yet unfortunately, I will get down to doing it when I have more time!

@ang-zeyu
Copy link
Contributor

Oh.. i see it now..

#2204 (comment)

@ang-zeyu
Copy link
Contributor

You can consider overflow-y: overlay for this. https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-y

@ang-zeyu
Copy link
Contributor

Separate issue but the caret seems a little off center vertically when in this orientation, we can try fixing that at the same time:

image

@itsyme itsyme removed their assignment Mar 16, 2024
@jingting1412 jingting1412 self-assigned this Mar 29, 2024
@yucheng11122017 yucheng11122017 mentioned this issue Apr 5, 2024
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants