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

Bug in Table component: colspan miscalcualted for detailed :show-detail-icon="false" #2133

Closed
rolandschuetz opened this issue Jan 14, 2020 · 0 comments · Fixed by #2134
Closed

Comments

@rolandschuetz
Copy link
Contributor

Overview of the problem

Buefy version: 0.8.9
Vuejs version: 2.6.10
OS/Browser: all

Description

The table details row calculates a wrong colspan value, which breaks the table when used with table-layout: fixed;

You can find a test case here, make sure to see the demo in Desktop mode:
https://codesandbox.io/s/buefy-bug-in-table-details-rendering-2edec

Steps to reproduce

  1. Rendering a table with detailed :show-detail-icon="false"
  2. Using table-layout: fixed;

Expected behavior

Since showDetailRowIcon decides if the td is rendered, the columnCount method should also consider showDetailRowIconinstead of detailed.

Actual behavior

The colspan value is to big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant