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
In case of using input watchChanges and too long text on each update hasTruncated - will produce two values.
First value emited after acutal value change.
The second will be emitted after line-truncation finish work and provide truncated value to DOM.
So hasTruncated will emit isTruncated = false however actually text has been truncated.
In case of using input
watchChanges
and too long text on each updatehasTruncated
- will produce two values.line-truncation
finish work and providetruncated
value to DOM.So
hasTruncated
will emitisTruncated = false
however actually text has been truncated.Environment: See example
Step to reproduce:
textarea
(Text should have enought symbols to apply truncation)Save / sync changes
buttonExpected behavior:
hasTruncated
- should emit one valuetrue
Actual Behaviour:
hasTruncated
- emittedtrue
hasTruncated
- emittedfalse
The text was updated successfully, but these errors were encountered: