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

Grab and drag - disable the "disable dragging on links" option #228

Open
scottbambrick opened this issue Feb 28, 2016 · 2 comments
Open
Assignees

Comments

@scottbambrick
Copy link

This option (on by default) prevents scrolling happening when the user tries to initiate a scroll on top of a link. This is particularly painful when a page is full of links (eg a menu or something)

As far as I can tell this option affects the blacklists used by GAD which can be found in gadDefaults.js. I think it just switches the 'on' property

I suggest adding another configuration flag for this option.

Hopefully someone out there can confirm this and get it changed for the next version of WC.

@kaihendry
Copy link
Member

Hi Scott,

grabdrag is not on by default. Or are you saying once it's on, you can't scroll whilst a link is selected? Can you link gadDefaults.js. I am not sure what that is.

What is the configuration option you would like to see here exactly please?

Thanks!

@scottbambrick
Copy link
Author

When grabdrag is enabled, WebConverger uses all the default settings for the Grab and Drag add-on.

One of those options is "disable dragging on links". Here's a screenshot of the option when the add-on is installed on a regular desktop version of Firefox:

image

That option makes it so that grabdrag ignores when the user tries to start a scroll on a link. Eg if I have a big picture on the page with a link on it and I try to scroll by starting the finger motion somewhere on that picture, it doesn't scroll. It's really annoying when there's a page full of links like a menu - virtually anywhere on the screen is a link and the user is often prevented from scrolling.

The option is enabled by default for some reason, and disabling it resolves it (and makes it behave more like any other touchscreen device).

I hunted through the add-on source and think I found the bit that needs to be changed in gadDefaults.js

The three 'hiddenBLx' lines need to be changed so that the links objects' 'on' value is set to true.

...{"id":"links","on":"true",...

That's what I've come up with anyway and it'd be good if someone else could have a look over it to confirm.

It'd make sense to me to make this the default setting in WC, but if you want people to have the option then you'd have to add another config option for us to use it.

Hopefully that makes a bit more sense?

@kaihendry kaihendry self-assigned this Mar 1, 2016
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