philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.53k stars 2.49k forks source link

how can i scroll multiple scroll bar in single webpage ? #2359

Open ghost opened 7 years ago

ghost commented 7 years ago

how can i srcoll multiple scroll bar in a webpage ? Or is this a unimplemented feature ?

smblott-github commented 7 years ago

Do you have an example page?

Vimium tries to make scrollable elements selectable with link hints (f).

ghost commented 7 years ago

@smblott-github

image 1, Json在线解析及格式化验证 - Json.cn http://www.json.cn/ As shown above, I can not scroll well for the left scroller . If i input "E" , it will focus it and just can input the letter.

image 2, 微信网页版 https://wx.qq.com/ (need to register wechat(app)) As shown above, there are three scrollers in page , but i can not manipulate well for the 1st and 3rd scrollers. The 3rd input box will get focus if i input "W" letter, so i can not scroll it.

3, I have an idea. For scrollable elements, the tips showed next to scroller after input "f" letter would be friendly. Just like the first screenshot what i paint.

smblott-github commented 7 years ago

Could you provide a better (public) example, please? The first example doesn't seem to work (see screenshot below), and the second one requires login (or something).

snapshot

ghost commented 7 years ago

1, @smblott-github e...OK....how about this one ( http://www.jsoneditoronline.org/ ) ? it seems that can not manipulate the scrollers well .

screenshot_www jsoneditoronline org

2, Sometimes i found that it does not work to enter normal mode with or <ctrl+[> in some pages. And i have to click the page for the page can get focus again. For example : https://chrome.google.com/webstore/category/extensions?hl=zh-CN , i even can not manipulate the page with vimium.

tbena commented 7 years ago

I have 2 instances of chrome, each for a different chrome user. On one the scrolling works but on the other it doesn't. Any ideas why that might happen? Is it possible that my extension isn't up to date on one of them?

I checked on https://www.twitch.tv/directory and in one of my chrome windows the scrolling element wasn't found by link hints.

smblott-github commented 7 years ago

@tbena Could you double check that the correct scrolling element isn't already selected? Link hints only offer a scrolling element for selection if it's not already selected.

Separately, it's easier to debug this if you use filtered hints, see the options page, because then you can see why an element is being suggested, like this...

snapshot

teh-username commented 7 years ago

Hey there @smblott-github. So I ran into this problem as well. The page I'm trying to navigate is:

http://redux-form.com/6.7.0/docs/api/ActionCreators.md/.

Here's a screenshot with filtered hints active:

image

I tried selecting the revealed hint but I'm still stuck scrolling the right half of the page.

innaterebel commented 7 years ago

Hum, just realizing that I have never seen a Scroll. hint ever. I am using Dev Chrome with a lot of experiment flags enabled though, there are a lot to be filtered out.

However most of the flags are for Chrome's native UI and none of them seemingly related to scrollers, hum. I changed the CSS for the appearance of link hints, that can't be related, right?

smblott-github commented 7 years ago

Hum, just realizing that I have never seen a Scroll. hint ever.

The word "Scroll" only shows up for filtered hints.

anilanar commented 6 years ago

I'm having this problem at https://eksisozluk.com One scrollbar on the left, one for body.

alon-to commented 6 years ago

Hum, just realizing that I have never seen a Scroll. hint ever.

The word "Scroll" only shows up for filtered hints.

May I ask why this is the case? I'd love to have "Scroll" label appear but don't like filtered hints. I'm sure there's a good reason as the label is equally valuable in both modes.

My only guess: is the fear that users mistakenly typing 'scroll'? One idea: make scroll-type hints a different color?

auni53 commented 5 years ago

Would love to have a specific linkhint mode that only had scroll links.

ujazishere commented 4 years ago

image Reddit scroll on left and right. want to switch scrolls but cant scroll left even after pressing f there ain't no keys for multiple scrolls on a webpage

vimtor commented 3 years ago

The same way you can focus the next frame with gf you could focus the next scroll area with gs (for example)

anthonyma94 commented 2 years ago

Are there any solutions to this, other than turning on filtered hint? Changing the color of the scroll hint and putting it on top comes in mind.

I'm also having trouble with GitHub Docs, the scroll area hint is covered by another: image

On the top left, you see a hint box behind JA. JA clicks on the toolbar.

anthropikos commented 2 years ago

Question: Is in vimium different marked link hints for scroll bar (on multiple scroll bar site)? #3231

@anthonyma94, I am not able to see the scroll option with filtered-hint enabled under the advance features. image

gdh1995 commented 2 years ago

As said in https://github.com/philc/vimium/issues/3134#issuecomment-1049531404, in Vimium, currently only clicking an element can notify Vimium it's scrollable, although this notifying can be easily imported into LinkHints.activateMode with action=hover (which means to "select" an element without clicking).

I have a customized version of Vimium, named Vimium C (https://github.com/gdh1995/vimium-c), and it have such features:

  1. Its LinkHints.activateHover will auto mark an element (or an outer element) scrollable, and then j and k work.
  2. Render hint markers for scrollable areas in dark red
      1. an edge case is, when a scrollable area is also "clickable", its marker won't be dark red, but this should have little impact
anthropikos commented 2 years ago

As said in #3134 (comment), in Vimium, currently only clicking an element can notify Vimium it's scrollable, although this notifying can be easily imported into LinkHints.activateMode with action=hover (which means to "select" an element without clicking).

I have a customized version of Vimium, named Vimium C (https://github.com/gdh1995/vimium-c), and it have such features:

  1. Its LinkHints.activateHover will auto mark an element (or an outer element) scrollable, and then j and k work.
  2. Render hint markers for scrollable areas in dark red
    1. an edge case is, when a scrollable area is also "clickable", its marker won't be dark red, but this should have little impact

Thank you, I saw a few comment about "clicking an element" and couldn't understand what it mean until now. This is very helpful.

Corallus-Caninus commented 2 years ago

I am having problems with this as well, a seperate "move cursor" or hover mode would be very helpful for more than just scrollbars.

ghost commented 2 years ago

if you are on Firefox, try this https://github.com/tridactyl/tridactyl

jadedFella commented 1 year ago

As said in #3134 (comment), in Vimium, currently only clicking an element can notify Vimium it's scrollable, although this notifying can be easily imported into LinkHints.activateMode with action=hover (which means to "select" an element without clicking).

I have a customized version of Vimium, named Vimium C (https://github.com/gdh1995/vimium-c), and it have such features:

  1. Its LinkHints.activateHover will auto mark an element (or an outer element) scrollable, and then j and k work.
  2. Render hint markers for scrollable areas in dark red
    1. an edge case is, when a scrollable area is also "clickable", its marker won't be dark red, but this should have little impact

but how do we switch between scrollable areas? do we have to click on something inside of that scrollable area using F?