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
Open in Android Chrome (on desktop Chrome all works corretly)
type 'AAA'
press 'Enter' to add line break
type 'BBB'
press 'Enter' to add line break
press 'Backspace'
What is the expected behavior?
Expected that last line will be removed and cursor will be after 'BBB'
What is happening instead?
Both line breaks is removed
What error message are you getting?
No errors
The text was updated successfully, but these errors were encountered:
it removes element even currentValue.length == lastInputValue.length
when I change condition to if( currentValue.length > lastInputValue.length && prevElm )
all looks good
Prerequisites
馃挜 Demo Page
https://jsbin.com/rugeqoleri/1/edit?html,js,output
Explanation
Open in Android Chrome (on desktop Chrome all works corretly)
type 'AAA'
press 'Enter' to add line break
type 'BBB'
press 'Enter' to add line break
press 'Backspace'
What is the expected behavior?
Expected that last line will be removed and cursor will be after 'BBB'
What is happening instead?
Both line breaks is removed
What error message are you getting?
No errors
The text was updated successfully, but these errors were encountered: