-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
I cannot select scrollable element without a scroll bar. #147
Comments
If there're some demo URLs and snapshots, maybe I can improve the detection logic - while of course it's not always possible. |
The sidebar on youtube.com shows a scrollbar only when the mouse cursor is on the sidebar. On London Real YouTube channel, there are scrollable elements. On slant, you can also see a scrollable element without a scrollbar. If I press |
The 1st snap on Youtube: it's strange that I found "the box is scrollable on Chrome" - according what I saw in its source code, it should be never scrollable. I'll test more in days. 2nd snap of "latest interviews": you may use LinkHints to click the left/right buttons - my touchpad could not directly scroll the boxes left or right, so I think it's OKay for Vimium C to treat them as not scrollable. 3rd of slant: the left/right arrow buttons are also hinted by LinkHints. |
Then how does SurfingKeys scroll the boxes, on what keyboard shortcuts? |
The usual scrolling keys apply. I can use the scrolling buttons, but it is more convenient to use scrolling keys. |
Confirmed that SurfingKeys can find them, though it also shows some wrong hints after The sidebar of YouTube uses a dynamic CSS style to make it "scrollable only when a mouse is on it"; the other places use JavaScript code to do real scrolling, so it's somehow "correct" that Vimium C thinks they are not scrollable. Maybe I can add a new mode like |
E.g.: YouTube sidebar: only `overflow: auto` on hover. So either click it first, or `map f LinkHints.activateMode scroll="force"` This is for #147 .
Here's a new version, and Please test this: vimium_c-1.81.4-chrome-611e169.zip, vimium_c-1.81.4-firefox-611e169.zip. Install:
|
In chrome, vivaldi, and brave, the chrome extension fixed the issue. |
|
|
|
What are you going to do? |
What? Sorry I don't understand your last comment. |
It seems you figured out how to fix the issue. How are you going to fix this issue? |
Um, the zip file is just the version that "fixes" this issue: the 3 examples you gave are "not scrollable by default", and all require pages' JavaScript code / special CSS status to do scrolling; but Vimium C can not recognize whether an element is "scrollable if relaxing some rules" or not, so I added an option of If you agree that this version is enough, then a new release will arrive in next 5~10 days with logic in this zip file. Updated: I used to close an issue when a new version for it had released for days, while if you like you may close it at any time. |
I think the new version is good enough. I'd like some documentation on LinkHints.activate and LinkHints.activateModeToHover because I didn't know they existed. |
Sorry but in recent months (years?) I have no enough patience and time to write documents - I would rather write new features or relax & sleep ... |
On the Vimium C Options page, press |
|
v1.81.5 has been released. |
Thank you. |
YouTube sidebar often doesn't have a scroll bar, but it is scrollable.
So, I often cannot choose the YouTube sidebar after pressing
f
.There are many scrollable elements without a scroll bar.
The text was updated successfully, but these errors were encountered: