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)