passbolt / passbolt_browser_extension

Browser extensions (Firefox, Edge & Chrome) for Passbolt the open source password manager for teams
https://passbolt.com
GNU Affero General Public License v3.0
231 stars 69 forks source link

Incorrect table width rendering in Passbolt extension #216

Closed aqu1ntero closed 1 month ago

aqu1ntero commented 1 month ago

Incorrect table width rendering in Passbolt extension

What you did

What happened

When viewing the password table in the Passbolt extension, the table width is detected incorrectly, resulting in excessively large width values. This issue makes it difficult to navigate the table and prevents proper resizing. The columns appear stretched, and horizontal scrolling is not functioning as expected, which significantly impacts usability.

What you expected to happen

The table should render with a correct width that fits the content, allowing easy navigation and resizing as needed.

The component calculates the table width incorrectly, resulting in an excessively large value (e.g., 9.64127e+13px). This miscalculation leads to navigation and resizing issues within the table. It seems that when the extension fails to determine the width correctly, it defaults to an unreasonable value.

2024-08-29_11-40

Benj1er commented 1 month ago

Hello @aqu1ntero,

Thanks for your report.

This issue has now been corrected. Once you have updated the width of each column to a default value (hide and show the column to set the default value), this should no longer occur.

If the issue persist, don't hesitate to reopen the ticket.

Best regards.