mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
Solve #156 Input field now show keyboard in html5 mobile
This commit is contained in:
parent
7b40af9a33
commit
a01eae3d89
@ -148,6 +148,10 @@ function Input.init(self, click_node, text_node, keyboard_type)
|
||||
self.button.on_click_outside:subscribe(self.unselect)
|
||||
self.button.on_long_click:subscribe(clear_and_select)
|
||||
|
||||
if html5 then
|
||||
self.button:set_html5_user_interaction(true)
|
||||
end
|
||||
|
||||
self.on_input_select = Event()
|
||||
self.on_input_unselect = Event()
|
||||
self.on_input_text = Event()
|
||||
|
Loading…
x
Reference in New Issue
Block a user