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
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
When I select a suggestion via the android keyboard, sometimes it inserts duplicate characters or temporarily hides the content. Reproduced on https://facebook.github.io/draft-js/
It seems to more consistently occur when you start with no text.
In this first example:
Typed "Wh"
"Pressed "What" suggestion
"Editor showed "WhatW"
In this second example:
Typed "The following"
deleted it
opened keyboard
pressed "The" suggestion (editor was blank)
opened keyboard
pressed "Hi" suggestion (editor was blank)
opened keyboard
typed "asdf"
pressed "ASDF" suggestion
editor showed "ASDFHiTheT"
What is the expected behavior?
No invisible text or duplicate characters
draft-js 0.9.1
Android chrome version 55.0.2883.91
The text was updated successfully, but these errors were encountered:
I think some of the behaviour, i.e. the keyboard closing is related to #888 which has an un-merged PR #907.
I've also found it doesn't like adding text at the very start of the document sometimes, which is what appears to be happening in your second gif.
On Android when the word is underlined it doesn't actually appear to be in the editor - i.e. the word is not sent to my server from the onChange callback until I hit space or select an autocorrect option. I wonder if this is contributing. (edit: see #102 and #580 I think)
When I select a suggestion via the android keyboard, sometimes it inserts duplicate characters or temporarily hides the content. Reproduced on https://facebook.github.io/draft-js/
It seems to more consistently occur when you start with no text.
In this first example:
In this second example:
What is the expected behavior?
No invisible text or duplicate characters
draft-js 0.9.1
Android chrome version 55.0.2883.91
The text was updated successfully, but these errors were encountered: