You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click somewhere so that the MentionsInput is not focused
Click on the button "focus programmatically"
It works
Now type something in the text field, click outside so that it is unfocused
Click on the button "focus programmatically"
It fails until you reload the page.
Expected behaviour:
Focus to work after you typed something in the text field
Observed behaviour:
Fails as soon as something was typed. The inputEl.current becomes null after you typed something.
Workaround:
Couldn't figure one out
The text was updated successfully, but these errors were encountered:
torlenor
changed the title
Focus programmatically, because inputRef becomes null after typing something into the MentionInput
Focus programmatically doesn't work, because inputRef becomes null after typing something into the MentionInput
May 28, 2024
torlenor
changed the title
Focus programmatically doesn't work, because inputRef becomes null after typing something into the MentionInput
Cannot focus programmatically, because inputRef becomes null after typing something into the MentionInput
May 28, 2024
Steps to reproduce:
Expected behaviour:
Focus to work after you typed something in the text field
Observed behaviour:
Fails as soon as something was typed. The inputEl.current becomes null after you typed something.
Workaround:
Couldn't figure one out
The text was updated successfully, but these errors were encountered: