Skip to content

Commit

Permalink
Fix primefaces#5424: CascadeSelect use data instead of CSS selector
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 9, 2024
1 parent 19cfba7 commit ba5addb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/cascadeselect/CascadeSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const CascadeSelect = React.memo(
//down
case 40:
if (overlayVisibleState) {
DomHandler.findSingle(overlayRef.current, '.p-cascadeselect-item').children[0].focus();
DomHandler.findSingle(overlayRef.current, '[data-pc-section="item"]').children[0].focus();
} else if (event.altKey && props.options && props.options.length) {
show();
}
Expand Down

0 comments on commit ba5addb

Please sign in to comment.