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

Feature request: margin around small image edges #29

Open
m4recek opened this issue Apr 9, 2018 · 1 comment
Open

Feature request: margin around small image edges #29

m4recek opened this issue Apr 9, 2018 · 1 comment

Comments

@m4recek
Copy link

m4recek commented Apr 9, 2018

Hi, first of all great library :)

Problem:
In "over" configuration, it is quite hard to see the an edge of enlarged image. One have to be right on edge of small image and it is very easy to just go down from it (it is even harder on touch screens).

One solution might be to introduce a "margin/edge" area where enlarged image is automatically set to small image border. (check image)

image

@ethanselzer
Copy link
Owner

Hi @m4recek - Thanks for opening this issue. I appreciate your input. You raise an interesting use case that has not been proposed before. I'm wondering, instead of decreasing the active area, if there were an option to specify a "buffer zone" around the small image that would allow the user to hover/touch a specified amount past the boundary of the small image, would that achieve your goal? Also I'm curious what sort of application you are creating. Are you displaying product images or something else?

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