fix click on the sort control of u-table-entity in case target column is selected
Major changes:
-
@click.native="onSort"
call replaced with@close="onSortClose"
- this allows to resettargetColumn
just after popup is closed and before it is opened. Before this fix the popup was opened at first and afterwardstargetColumn
was reset.Otherwise
u-dropdown
cannot define it'sreferenceEl
property correctly in some cases -
this.targetColumn = target
moved intosetTimeout
call to be performed just before u-dropdown toggle.Otherwise
u-dropdown
cannot define it'sreferenceEl
property correctly in some cases
Edited by Chernykh Denys