-
Notifications
You must be signed in to change notification settings - Fork 431
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
Click image > next #23
Comments
Hi, Regarding the arrows, it's impossible with CSS as they're hardcoded as On 18-Apr-15 6:30 PM, bakman2 wrote:
|
I am trying to fix it myself for the click. I have added:
This works, except when using touch outside the overlay, it will exit the lightbox while going to the next image. |
fix:
|
I see, but this works only for moving forward. It's more common when you have the image divided into two-clickable areas. |
agreed. it works for me. btw in Safari on OSX 10.10 the gallery behaves quite slow and stutters, would could be the cause of this ? |
Example: www.richardbakker.com |
hmm hard to say, unfortunately I don't have access to OSX to test that. If it happens only on Safari, you could check out older / newer versions. The animations are based on CSS transitions, so it may be some rendering engine problem. |
It happens on chrome as well albeit a little better. |
That's strange, but there's not much I can do right now. |
Strange indeed. It appears to be caused by the loading-spinner.
|
Ok, I see, so it looks like the rendering engine can't hold it all. Strange as the spinner is a simple css animation. |
I suspect it is not the animation, but creating/removing elements is quite expensive DOM manipulation. |
Any ideas how to optimize it? Considering that each image has its own loading spinner. |
Does the stuttering still occur on OSX? Regarding the colors changing via options, I've been thinking about a possible solution, but unfortunately there isn't any reasonable one as it relies on css and :hover. |
@bakman2 can I close this issue? Couldn't be reproduced. |
As subject, is this possible somehow ?
Maybe also nice to make it possible to change the arrow colors via options or css.
The text was updated successfully, but these errors were encountered: