grommet/grommet

Text area inside of a tab loses cursor focus when you type

Open

Aperta il 5 apr 2023

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)JavaScript (8247 star) (1015 fork)batch import
bughelp wanted

Descrizione

Expected Behavior

TextArea loses place when editing inside a tab gorup

Actual Behavior

If you edit the middle of a text area when a textArea is inside a teb frame, the cursor "jumps" to the end of the tab area - seems like there is some spontaneous reloading of the wrapper context going on

https://codesandbox.io/s/tabs-lose-context-dl66sm

Steps to Reproduce

  1. enter a block of text in the text area inside of the tabs
  2. put the cursor in the middle of the block
  3. continue to type

Guida contributor