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

Image over layer issue on webkit browsers with touch. (Issue #333) #334

Closed

Conversation

michael-lavaveshkul
Copy link

This line seems to make the image appear over the image's layer under certain conditions in touch-enabled webkit browsers.

This is my first pull request and first time working with git so if there's anything I need to fix/change, please let me know!

…seems to make the images appear above the image layer on wekbit browsers with touch under specific circumstances.

For example, take the Galleria Classic theme example for Galleria 1.3.5.
Give galleria-layer a background-color.
Open Chrome and emulate an iPad 3/4.
Open up / refresh the theme example.
Slowly drag the image to go to the next one.

Expected: You should see the background-color of the galleria-layer on top of the next image as you drag across.
Actual Result: The background layer seems to go behind the image.

This also seems to happen if you have a small number of images (like 3) and it wraps around from the end to the beginning or vice-versa by clicking the image-nav-left and image-nav-right divs.
@michael-lavaveshkul
Copy link
Author

I didn't realize github creates an issue for pull requests.

@michael-lavaveshkul
Copy link
Author

Randomly logged in and realized this was still open. I think the problem went away at some point, but I'm not sure how. I think the line I removed was originally added to help gpu accelerated browsers or something.

Anyway, I'm closing this as it's probably not needed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant