react-textarea-autocomplete icon indicating copy to clipboard operation
react-textarea-autocomplete copied to clipboard

Loading Component missing top/left style for first typed char

Open anton6 opened this issue 4 years ago • 2 comments

When unresolved promise is returned by dataProvider (for example an async call over api to fetch suggestions), the loading component has missing top/left styles to position the loading component next to the carrot for the first character typed.

As a result the loading indicator is at the bottom of the textarea as per screenshot below:

Screenshot 2021-03-23 at 12 42 16

When you start typing the next characters however it seems to correct itself and adds top/left styles to the loading component. So only first typed char has this problem.

Screenshot 2021-03-23 at 12 45 45

anton6 avatar Mar 23 '21 12:03 anton6

Looks like it broke during v4.2.3 commit "Improve autocomplete positioning" https://github.com/webscopeio/react-textarea-autocomplete/commit/8310e0abe671414654030c751d8b6cfe6cc01813

anton6 avatar Mar 24 '21 14:03 anton6

@anton6 Any workarounds that you found?

jwtong avatar Dec 10 '21 09:12 jwtong