Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation props on AutoComplete are passed down to the Input #2944

Closed
ghidoras opened this issue Nov 25, 2022 · 0 comments · Fixed by #2950
Closed

Animation props on AutoComplete are passed down to the Input #2944

ghidoras opened this issue Nov 25, 2022 · 0 comments · Fixed by #2950

Comments

@ghidoras
Copy link

ghidoras commented Nov 25, 2022

What version of rsuite are you using?

5.23.0

What version of React are you using?

18.1.0

What version of TypeScript are you using (if any)?

4.8.2

What browser are you using?

Chrome, Firefox, Safari

Describe the Bug

Getting the following warning that the animation props onExit, onExiting, onEnter, etc, are passed all the way down to the Input component and React complains since they're invalid html attributes.

Warning: Unknown event handler property onExit. It will be ignored.

Expected Behavior

The animation props should only end up on the overlay

To Reproduce

Use the AutoComplete with a handler on any of the animation props, such as: onExit, onEnter, onExiting, onEntering, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants