-
Notifications
You must be signed in to change notification settings - Fork 129
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
Having a mixed images/videos gallery displays the application instead of video #398
Comments
it is working fine in the demo, please add a reproduction here https://stackblitz.com/edit/ngx-gallery |
no, it isn't |
@NexGenUA Thanks for the PR, there is still a bug if the slider size is smaller than the viewport size, I added a comment on your merged PR that shows the bug |
Fixed in v5.1.1 |
What is the expected behaviour?
To have a mix of images, videos, youtube videos and when you scroll right and left to display the current video/image
What is the current behaviour?
When i scroll to the video and then i go back left to a picture, and then i again come back to the video instead of the video, it displays the application
What are the steps to reproduce?
i have the gallery implemented like this in template:
<gallery [items]="images" gallerize></gallery>
and in the component:
And it is functioning but with this bug.
I have 3 pictures and 1 youtube video, when i scroll to the video and then i go back left to a picture, and then i again come back to the video instead of the video, it displays the application as you can see in the recorded.
Have this ever happened to you? What could trigger this behaviour?
What is the use-case or motivation for changing an existing behaviour?
Which versions are you using for the following packages?
Angular: 12.1.2
Angular CDK: 12.1.3
Angular CLI: 12.1.3
Typescript: 4.3.5
Gallery: 5.0.0
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: