We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
Looks like Table.enableColumnReordering causes ColumnHeader.handleResizeDoubleClick to calculate wrong column width.
Table.enableColumnReordering
ColumnHeader.handleResizeDoubleClick
Link to a minimal repro: https://codesandbox.io/s/blueprint-sandbox-m93im
Table.enableColumnReordering={true}
Some column name
drag-handle-verticalSome column name
drag-handle-vertical
Looks like Header.maybeRenderReorderHandle method here misses bp-table-text-no-measure class.
Header.maybeRenderReorderHandle
bp-table-text-no-measure
This leads to incorrect calculation at ColumnHeader.handleResizeDoubleClick method, as drag-handle-vertical text appears in dom element's textContent.
Adding bp-table-text-no-measure class should fix the bug.
The text was updated successfully, but these errors were encountered:
Also looks like there is the similar bug with handleResizeDoubleClick and enabled header's right menu. Reproducable here https://blueprintjs.com/docs/#table/features.sorting
handleResizeDoubleClick
Sorry, something went wrong.
I can reproduce the bug. It may have been introduced when we switched from the icon font to rendering SVG icons with <Icon>.
<Icon>
Successfully merging a pull request may close this issue.
Hello.
Looks like
Table.enableColumnReordering
causesColumnHeader.handleResizeDoubleClick
to calculate wrong column width.Environment
Link to a minimal repro: https://codesandbox.io/s/blueprint-sandbox-m93im
Steps to reproduce
Table.enableColumnReordering={true}
and resizable columns.Some column name
Actual behavior
drag-handle-verticalSome column name
in it.Expected behavior
Some column name
in it, ignoringdrag-handle-vertical
element.Possible solution
Looks like
Header.maybeRenderReorderHandle
method here missesbp-table-text-no-measure
class.This leads to incorrect calculation at
ColumnHeader.handleResizeDoubleClick
method, asdrag-handle-vertical
text appears in dom element's textContent.Adding
bp-table-text-no-measure
class should fix the bug.The text was updated successfully, but these errors were encountered: