patternfly-react
patternfly-react copied to clipboard
fix(Select): apply focus styling to the "create" option
trafficstars
What: Closes #7452
Additional issues:
I also converted the usage of .innerText in this component to instead use .textContent due to an issue with JSDOM that impacted my ability to add a test for this fix. I don't see this causing any errors based on my testing, but if there are any issues with it I have alternative approaches I can take to the issue.
Convenience link to the typeahead select example in this PR's preview: https://patternfly-react-pr-7800.surge.sh/components/select/#typeahead
Preview: https://patternfly-react-pr-7800.surge.sh
A11y report: https://patternfly-react-pr-7800-a11y.surge.sh