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

Issue with Antd package #2

Open
MrP-git opened this issue Feb 3, 2020 · 2 comments
Open

Issue with Antd package #2

MrP-git opened this issue Feb 3, 2020 · 2 comments

Comments

@MrP-git
Copy link

MrP-git commented Feb 3, 2020

Hi,
First of all, thank you for this amazing solution.

I know this is not a right place to post regarding the issue, but when working with antd design framework, I get an error. You can find the code here. Can you please suggest how can I solve this issue?

image

@developit
Copy link
Owner

This is likely a ref or effect timing issue. There are a few spots in the antd codebase where patterns like this are used, which are very much an antipattern:

useEffect(() => {
  ref.current.parentNode.focus();
}, [ref]);

@jeremy-coleman
Copy link

rsuite ftw

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

No branches or pull requests

3 participants