Skip to content

fix click on the sort control of u-table-entity in case target column is selected

Chernykh Denys requested to merge fix/UTableEntity-sort-dropdown into master

Major changes:

  • @click.native="onSort" call replaced with @close="onSortClose" - this allows to reset targetColumn just after popup is closed and before it is opened. Before this fix the popup was opened at first and afterwards targetColumn was reset.

    Otherwise u-dropdown cannot define it's referenceEl property correctly in some cases

  • this.targetColumn = target moved into setTimeout call to be performed just before u-dropdown toggle.

    Otherwise u-dropdown cannot define it's referenceEl property correctly in some cases

Edited by Chernykh Denys

Merge request reports

Loading