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

Message bar is only invisible after dismissing but still usable #1608

Open
2 tasks done
AnnaGrahl opened this issue Dec 9, 2024 · 1 comment
Open
2 tasks done

Message bar is only invisible after dismissing but still usable #1608

AnnaGrahl opened this issue Dec 9, 2024 · 1 comment
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed

Comments

@AnnaGrahl
Copy link

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

We implemented the error message bar with the button to dimiss it. But it happens, that it is invisible, but if you keep clicking on the spot, where the dismiss button is, it appears again and again for a short time after getting invisible again.

I also looked in the chrome dev tools and it seems, that only the opacity of the message bar is set to 0%. But dismiss would mean for me, that the message bar is removed from the dom, or the bar is not set to opacity 0% so the developer sees, that it is NOT away and you have to implement the event yourself.

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.5.0

Code to produce this issue.

import { Component } from '@angular/core';

@Component({
  selector: 'app-example',
  template: `
    <div class="message-bar">
      <ix-message-bar>Message text</ix-message-bar>
      <ix-message-bar type="warning">Message text</ix-message-bar>
      <ix-message-bar type="danger">
        <div class="d-flex align-items-center justify-content-between">
          Message text
          <ix-button>Action</ix-button>
        </div>
      </ix-message-bar>
    </div>
  `,
  styleUrls: ['./message-bar.css'],
})
export default class MessageBar {}
@AnnaGrahl AnnaGrahl added the triage We discuss this topic in our internal weekly label Dec 9, 2024
@matthiashader matthiashader added type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed and removed triage We discuss this topic in our internal weekly labels Dec 16, 2024
Copy link
Contributor

github-actions bot commented Dec 16, 2024

🤖 Hello @AnnaGrahl

Your issue will be analyzed and is part of our internal workflow.
To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-2201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed
Projects
None yet
Development

No branches or pull requests

2 participants