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

Support touch in autohide_sidebar.css #479

Open
firai opened this issue Dec 3, 2024 · 1 comment
Open

Support touch in autohide_sidebar.css #479

firai opened this issue Dec 3, 2024 · 1 comment

Comments

@firai
Copy link

firai commented Dec 3, 2024

There doesn't seem to be a way to activate the width expansion using touch when using autohide_sidebar.css currently. This is useful on non-Android tablets and 2-in-1s. Maybe one way of doing this is to add the :active pseudo-class?

@MrOtherGuy
Copy link
Owner

I really don't know how that would work. While you might get the contents to show with :active - I don't see how you could then actually use the contents, because you are already in the process of "clicking" it. To do anything useful you would have to release the activeness and then do whatever, but then it isn't active anymore...

Also, :active shouldn't work when the contents of the sidebar is a separate document. We need to apply rules to the sidebar itself which is in the main window document, but the contents of the sidebar - what you would click or touch - are in a separate document, and the active pseudo-class doesn't get across document boundary.

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

2 participants