@mathContao opened this Issue on May 16th 2021

If you click in the marketplace on the "more" link, than nothing happens.

grafik

Expected Behavior

more information will shown

Current Behavior

nothing happend. The hash anchor jumps to the top of page:

module=Marketplace&action=overview&idSite=1&period=range&date=previous30&activated=&mode=admin&type=&show=#

Steps to Reproduce (for Bugs)

open the marketplace page and click on the "more" link on each plugin. See screenshot

Your Environment

  • Matomo Version: 4.2.1
  • PHP Version: 7.4.3
  • Browser: Firefox 88
  • Operating System: Windows 10
@diosmosis commented on May 16th 2021 Member

@mathContao thanks for the report! Confirmed this is a bug. I also don't see any code related to handling the '.more' link so I don't know exactly what's going on there.

@tsteur commented on May 16th 2021 Member

I just checked and it is setting up a click event listener in https://github.com/matomo-org/matomo/blob/4.3.0-rc2/plugins/Marketplace/angularjs/plugins/plugin-name.directive.js#L51 but for some reason the element doesn't trigger the click event by the looks.

@mathContao commented on May 16th 2021

there is no event appended on the link
grafik

@tsteur commented on May 16th 2021 Member

Hey @mathContao it does the onclick handler in the angular directive.

@flamisz commented on May 16th 2021 Contributor

The jquery dotdotdot plugin causes this issue. One solution can be if we simply use style="overflow:hidden" on the description. Anyway, when the description too long, we don't show the more link, because dotdotdot plugin cuts that. the only thing that would be different, if it's too long, we won't see the ellipsis (see attached images).
Other solution could be using some css, but that won't work on old browsers. ping @tsteur @diosmosis

Screen Shot 2021-05-17 at 10 17 04 AMScreen Shot 2021-05-17 at 10 17 08 AM
@tsteur commented on May 16th 2021 Member

Other solution could be using some css, but that won't work on old browsers.

Do you know which browsers it wouldn't work @flamisz ?

@flamisz commented on May 16th 2021 Contributor

On all IE:

Screen Shot 2021-05-17 at 11 12 17 AM
This Issue was closed on May 17th 2021
Powered by GitHub Issue Mirror