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

Event list sometimes stops responding to mouse hover and clicks when adding elements after a modal is closed #1179

Closed
2 tasks done
raphaelgodart opened this issue Mar 20, 2024 · 2 comments · Fixed by #1230
Labels
type: bug Something isn't working Workflow: In progress Issue will be part of the next release

Comments

@raphaelgodart
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?

In one of our Angular projects, we're using the Event list component as follows. An 'Add' button opens a modal in which a name must be provided. After closing the modal, an event list item using the provided name is added to the event list.

In some instances, after performing the above procedure and after the modal is closed, the event list is not responding to mouse hover and mouse clicks anymore.

Unfortunately, this bug does not happen everytime. Sometimes, it happens only after adding multiple items. Sometimes it doesn't occur at all. The attached video illustrates the problem. When adding items 1 and 2 there is no problem. As seen in the video, the event list is still responding to mouse hover an clicks. After adding item 3 however, the event list does not respond to mouse hover and clicks anymore.

As also seen in the video, after opening a modal again and dismissing by pessing 'Cancel', the event list responds to mouse hover and clicks again. The bug was reproduced in Google Chrome. This is the video:

2024-03-20.20-41-20.mp4

This Stackblitz has the reproduction project which was used in the video:

https://stackblitz.com/edit/siemens-ix-event-list-bug-repro

This bug seems related to the modal. When adding items to the list without using a modal (e.g. by providing a hardcoded name), this bug does not occur.

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

Angular

Which version of iX do you use?

v2.1.2

Code to produce this issue.

https://stackblitz.com/edit/siemens-ix-event-list-bug-repro
@raphaelgodart raphaelgodart added the triage We discuss this topic in our internal weekly label Mar 20, 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 Mar 21, 2024
Copy link
Contributor

github-actions bot commented Mar 21, 2024

🤖 Hello @raphael-siemens

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-1070

@benvla
Copy link

benvla commented Apr 9, 2024

I have found an interesting work-around for this issue. Removing the 'Animate state change transitions' seems to solve the issue.

In the provided example, change

<ix-event-list class="m-2">

into

<ix-event-list class="m-2" animated="false">

@matthiashader matthiashader added Workflow: In progress Issue will be part of the next release and removed Workflow: Issue created JIRA issue is created and will be analyzed labels Apr 18, 2024
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: In progress Issue will be part of the next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants