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
Enhance how numberOfLines prop works and how it limits/sets the height of contentEditable element. After every render markdown input sets it's height to auto and we are resetting it to our calculated value, which causes the above problem.
Current state
After entering text with markdown, changing the numberOfLines prop when entering a new line, causes problems with the layout. The input is flickering and jumping at the top.
web-bug.mov
The text was updated successfully, but these errors were encountered:
Objective
Enhance how
numberOfLines
prop works and how it limits/sets the height ofcontentEditable
element. After every render markdown input sets it's height toauto
and we are resetting it to our calculated value, which causes the above problem.Current state
After entering text with markdown, changing the
numberOfLines
prop when entering a new line, causes problems with the layout. The input is flickering and jumping at the top.web-bug.mov
The text was updated successfully, but these errors were encountered: