-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
fix: Hero Slider Control & Alignment fixes #27611
Conversation
@shariquerik @marination please review this at your earliest, we need to release this in our next release. @shariquerik please do check, if the buttons (Primary Button) work properly after the fix. |
Yes, primary button works fine after the fix, I have tested. |
@Mergifyio backport version-13-hotfix |
@Mergifyio backport version-13-pre-release |
Command
|
Command
|
…-27611 fix: Hero Slider Control & Alignment fixes (backport #27611)
…se/pr-27611 fix: Hero Slider Control & Alignment fixes (backport #27611)
* fix: Creating unique hash for slider id instead of slider name * fix: Fixed alignment of Title, Subtitle, Action Button * chore: linter fix
Issue:
Cause:
In the current hero slider HTML, the slider has an
id
attribute which is set asslider_name
.Now if the slider name doesn't have any space (e.g. SliderName) in it then the left-right controls work, but if the slider name has space (e.g Slider Name) it doesn't work.
Solution:
Creating a unique hash for slider and setting it as
id
instead ofslider_name
CONTROLS
Before:
After:
ALIGNMENT
Before:
After: