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

fix(breadcrumb): fix wrap when expanding - FRONT-4558 #3546

Merged
merged 4 commits into from
Aug 7, 2024

Conversation

emeryro
Copy link
Contributor

@emeryro emeryro commented Aug 5, 2024

  • fix an issue where the breadcrumb was not displayed entirely when expanded

Copy link

github-actions bot commented Aug 5, 2024

@github-actions github-actions bot temporarily deployed to pull request August 5, 2024 11:14 Inactive
@@ -208,6 +208,7 @@ export class Breadcrumb {
*/
handleFullExpand() {
this.element.classList.remove('ecl-breadcrumb--collapsed');
this.element.classList.add('ecl-breadcrumb--wrap');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove this class we add on destroy() if it's present, it's not really going to happen but imagine the case where the instance is destroyed and re-initialized, it would not prevent wrapping.

@github-actions github-actions bot temporarily deployed to pull request August 7, 2024 08:17 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 7, 2024 08:32 Inactive
@planctus planctus merged commit 91641d5 into v4-dev Aug 7, 2024
7 checks passed
@planctus planctus deleted the FRONT-4558-breadcrumb-wrap branch August 7, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants