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

Request / small ideas #12

Open
kergekacsa opened this issue Jan 30, 2021 · 0 comments
Open

Request / small ideas #12

kergekacsa opened this issue Jan 30, 2021 · 0 comments

Comments

@kergekacsa
Copy link

Hi Andreas,

First of all, thanks for maintaining PhotoSwipe, good work! :)

I'm currently using it a private project for which I need to modify it (to let next and prev buttons grow to fill the empty space next to the image) and I got one performance idea and a small idea/request to make it more easier to use it :)
1.) It would be wise to use some kind of throttling on window resize, on a simple resize it got called a lot of times.
2.) There could be an afterZoom _shout event fired after (what a surprise ;) ) zooming in/out.

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

1 participant