@peterhashair opened this Issue on February 23rd 2022 Contributor

This is a follow-up issue, the original is an issue is here, https://github.com/matomo-org/matomo/issues/18699. PR https://github.com/matomo-org/matomo/pull/18728 fix the shortened label but resize the table bigger.

The reason this happened is the expanded table has extra width on the title. When expanded triggered, it will resize the entire table to recalculate the title width.

This is caused by this line here.

https://github.com/matomo-org/matomo/blob/f870e36a8993f91fcb5b5fd814c3fe6efbfd2690/plugins/CoreHome/javascripts/dataTable.js#L489

Reproduce

To reproduce it use Behaviours->Contents or Events. Click to expand any of the Product X will make the table bigger.

Screenshots

https://user-images.githubusercontent.com/3783072/155418488-bd96100f-75d6-4646-9bea-5c07d9482978.mp4

@tsteur commented on February 23rd 2022 Member

@peterhashair could you describe this issue in detail please? Like how to reproduce it, how much it makes the table bigger (ideally screenshots) etc. This will help us asses the impact to know when we need to fix it

Powered by GitHub Issue Mirror