You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently selected row should be retained even when the table is sorted.
What is actually happening?
Selections are applied based on the index of the tableData which works fine as long as the table isn't sorted. As soon as the table is sorted, the selection is applied to the wrong row because the previously selected row's index is not recomputed based on the sorted tableData.
The text was updated successfully, but these errors were encountered:
Element UI version
2.3.7
OS/Browsers version
Mac OS High Sierra 10.13.4 (17E199) / Chrome 66.0.3359.139 (Official Build) (64-bit)
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/dvprasath/fqbc2xcr/51/
Steps to reproduce
What is Expected?
currently selected row should be retained even when the table is sorted.
What is actually happening?
Selections are applied based on the index of the tableData which works fine as long as the table isn't sorted. As soon as the table is sorted, the selection is applied to the wrong row because the previously selected row's index is not recomputed based on the sorted tableData.
The text was updated successfully, but these errors were encountered: