Skip to content

Attribution widget does not detect last link, instead closes it #2144

@francois-viszen

Description

@francois-viszen

What is the bug?

In the RichAttributionWidget widget, you have the property attributions where you can add attributions. I've noticed that onTap event of the last attribution does not work. It seems to trigger the close event of the widget. I verified this by duplicating my last attribution to the end of the list, and then the onTap works for the second last one, but again not for the last one.

How can we reproduce it?

Add a debug log to the last attribution and check if it logs.

Do you have a potential solution?

By default there is this small x icon below the attributions. My guess is that the small icon's touch area is interfering with the last attribution. I also tried adding the closeButton widget, but the bug persists. I added some padding around the closeButton but the link still does not work then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions