[BUG] TextInput widget does not allow entering text on mobile devices
See original GitHub issueOn mobile devices with Android and Chrome:
Observation: When opening html produced the Python-code below: It’s impossible to enter text, because keyboard opens but closes immediately after opening.
Expected behaviour appears when opening the same html on Chrome-Desktop on laptop and/or tablet.
from bokeh.plotting import show
from bokeh.models import CustomJS, TextInput, Paragraph
from bokeh.layouts import column
message = 'You entered text: '
text_banner = Paragraph(text=message, width=200, height=100)
def cb(text_banner=text_banner):
user_input = str(cb_obj.value);
message = 'You entered text: ' + user_input
text_banner.text = message
text_input = TextInput(value="", title="Enter:", callback=CustomJS.from_py_func(cb))
layout = column(text_input, text_banner)
show(layout)
I was told on https://gitter.im/bokeh/bokeh?source=orgpage that mobile devices are currently not tested. But I submit this bug for the case, that this situation will change.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Input field iOS Safari bug — Can't type in any text
It's working as expected on desktop, Android, iOS Chrome, but sometimes in iOS Safari when typing into the box, no text enters, even...
Read more >[In Progress] Text input box does not accept user input
Text input box does not accept user input. For the following items, iPhone 9 is OK but iPhone7 is NG. There is no...
Read more >[SOLVED] Input text html widget example not working - Ubidots
Hi, im trying to figure out a way to make users edit a text box, in order to put information about the product,...
Read more >Specify the input method type - Android Developers
You should always declare the input method for your text fields by adding the android:inputType attribute to the <EditText> element. Figure 1.
Read more >Working with the EditText | CodePath Android Cliffnotes
If you use an EditText with an input password type, you can also enable an icon that can show or hide the entire...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes
@xavArtley just clarifying you think this can be closed at this point then?