Solve #156 Input field now show keyboard in html5 mobile

This commit is contained in:
Insality 2023-05-03 01:13:16 +03:00
parent 7b40af9a33
commit a01eae3d89

View File

@ -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()