thiagoelg opened a new pull request, #3601: URL: https://github.com/apache/incubator-kie-tools/pull/3601
Refactor and bug fixes for the `TypeaheadSelect` component. Refactors the component to follow React best practices (pure functions and constants moved outside the component, stable useCallback/useMemo deps, controlled input initialized to "" to avoid the uncontrolled-to-controlled warning, safe key prop for options). Fixes two bugs: - Two clicks to close after adding a new tag. - CREATE_NEW was closing the dropdown in multi-select mode. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
