Workday/canvas-kit

`onFocus` isn't passed to the visual input on Select.

Closed this issue ยท 0 comments

๐Ÿ› Bug Report

There's no clear way to trigger a focus event on Select. I think we can forward onFocus to the visual input so that consumers can trigger evenets/ side effects based on when the select is focused.

Here's the onFocus on the hidden input https://github.com/Workday/canvas-kit/blob/master/modules/react/select/lib/Select.tsx#L87

Pass the same to the visual input.