Skip to content

Conversation

@soniBhumik99
Copy link
Contributor

No description provided.

@soniBhumik99 soniBhumik99 requested a review from zhirzh April 1, 2024 08:49
};

componentDidMount() {
setTimeout(() => this.inputRef.current?.focus(), 100);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why timeout 100?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a small timeout was needed , maybe something was taking too long to render
didn't work without a timeout

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

Successfully merging this pull request may close these issues.

3 participants