TextBox will not unfocus if using Touch Object

Bugs will be moved here once resolved.

Post » Tue Mar 04, 2014 9:15 pm

Problem Description
If you click outside a textbox it will not call unfocus() if there is a Touch Object in your project. On Chrome, you will not be able to select a portion of what you typed.

Attach a Capx
dl.dropboxusercontent.com/u/22937829/bug_textbox.capx

Description of Capx
No events, just a textbox and a touch object.

Steps to Reproduce Bug
  • Click on the canvas (not on the textbox)
  • Click on the textbox
  • Click outside the textbox

Observed Result
The texbox will not be unfocused. Moreover, in Chrome, you will not be able to select a portion of what you typed.

Expected Result
Call unfocus() when you click outside a textbox. Be able to select a portion of what you typed on Chrome when focused.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 7

Construct 2 Version ID
C2 r163 (stable)
B
5
S
1
G
1
Posts: 24
Reputation: 538

Post » Wed Mar 12, 2014 7:14 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Thu Mar 20, 2014 11:54 pm

Thank you Ashley. However, it is still happening for me (r164.2). Can you confirm that you solved it ?

Regards
B
5
S
1
G
1
Posts: 24
Reputation: 538

Post » Tue Aug 12, 2014 4:55 pm

@Ashley This bug still seems apparent in r176 using Crosswalk, latest XDK. Also cannot tap on anything else whilst textbox is focused as it just brings up the keyboard...
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Wed Aug 13, 2014 5:12 pm

You're right, looks like it was still an issue. I've tried again to fix it for the next build, hopefully r177 will resolve it.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454


Return to Closed bugs

Who is online

Users browsing this forum: mallorcaredes and 3 guests