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

Utilized loop control on slideshow component #3598

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jayveedev
Copy link

@jayveedev jayveedev commented Aug 30, 2024

PR Summary: this.enableSliderLooping is declared on slideshow component but it isn't utilized inside the class. I added a simple return if the value onButtonClick() to stop auto loop if this.enableSliderLooping is false.

Why are these changes introduced?

Fixes #0.

What approach did you take?

Other considerations

Decision log

# Decision Alternatives Rationale Downsides
1

Visual impact on existing themes

No visual impact. Just added a simple code so that this.enableSliderLooping variable is utilized on slideshow component.

Testing steps/scenarios

  • Step 1 change this.enableSliderLooping on slideshow component to false
  • Step 2 Go to homepage and see that sliders no longer auto loops

Demo links

Checklist

@jayveedev
Copy link
Author

I have signed the CLA!

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.

1 participant