-
Notifications
You must be signed in to change notification settings - Fork 22
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(banner): fix issue with classes not working if banner type provided #887
fix(banner): fix issue with classes not working if banner type provided #887
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I'm pretty sure this is a bug and not intended behaviour.
Changes look good and the refactor is nice too.
Spotted one issue, where I think you're missing set
. If you can fix that up, then I can get this merged.
🎉 This PR is included in version 3.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Identify the bug
Link to the issue describing the bug that you're fixing.
Description of the change
else
andendIf
block in a place that disablesclasses
iftype
is set:button-menu
commit to mainAlternative designs
5742f092b7cc670d6ab453459f03c1252964d07e
) that does not do the refactor, but addresses the bugPossible drawbacks
If this is an intended business logic, then this change is not needed.
Verification process
Manual testing:
type
and component reflects thisclasses
and component reflects thistype
andclasses
and component reflects thistype
andclasses
contradict,type
takes precedenceRelease notes
Fixed #886 where if a banner type is present, banner classes could not be set