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

Add an option to disable focus on click #194

Closed
EugeneDae opened this issue Jul 23, 2015 · 2 comments
Closed

Add an option to disable focus on click #194

EugeneDae opened this issue Jul 23, 2015 · 2 comments

Comments

@EugeneDae
Copy link

This is a follow-up to #111.

b297716c-3084-11e5-9f31-ad044ab136d6

Focusing may be the right thing to do by all standards, but I think most people will agree that the behaviour depicted in the GIF is counterintuitive and confusing.

Please add an option to disable it.

@nvartolomei
Copy link

@desandro
Copy link
Member

@nvartolomei has it. Set accessibility: false. Which is not recommended. Again, from #76 (comment)

This behavior is actually a feature of keyboard accessibility. By clicking/tapping on a gallery, it adds focus to its element. This will jump the scroll so that element is completely in the viewport.

If this behavior is really bugging you, you can disable it with accessibility: false -- which I don't recommend because accessibility is a wonderful thing.

@metafizzy metafizzy locked and limited conversation to collaborators Jul 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants