diff --git a/components/lib/orderlist/OrderList.vue b/components/lib/orderlist/OrderList.vue index 74804a56b..990a35bf7 100755 --- a/components/lib/orderlist/OrderList.vue +++ b/components/lib/orderlist/OrderList.vue @@ -139,7 +139,7 @@ export default { return ObjectUtils.findIndexInList(item, this.d_selection) != -1; }, onListFocus(event) { - const selectedFirstItem = DomHandler.findSingle(this.list, '[data-p-highlight="true"]'); + const selectedFirstItem = DomHandler.findSingle(this.list, '[data-p-highlight="true"]') || DomHandler.findSingle(this.list, '[data-pc-section="item"]'); if (selectedFirstItem) { const findIndex = ObjectUtils.findIndexInList(selectedFirstItem, this.list.children); diff --git a/components/lib/picklist/PickList.vue b/components/lib/picklist/PickList.vue index cf947d01e..31bdc5941 100755 --- a/components/lib/picklist/PickList.vue +++ b/components/lib/picklist/PickList.vue @@ -264,7 +264,7 @@ export default { return ObjectUtils.findIndexInList(item, this.d_selection[listIndex]) != -1; }, onListFocus(event, listType) { - const selectedFirstItem = DomHandler.findSingle(this.$refs[listType].$el, '[data-p-highlight="true"]'); + const selectedFirstItem = DomHandler.findSingle(this.$refs[listType].$el, '[data-p-highlight="true"]') || DomHandler.findSingle(this.$refs[listType].$el, '[data-pc-section="item"]'); if (selectedFirstItem) { const findIndex = ObjectUtils.findIndexInList(selectedFirstItem, this.$refs[listType].$el.children);