Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

input[type="time"] fields cause bbUI applications to freeze #754

Closed
astanley opened this Issue Mar 17, 2013 · 4 comments

Comments

Projects
None yet
3 participants

When a user applies focus to an input[type="time"] element, the bbUI application will freeze. Tested with v0.9.6 and BlackBerry 10 OS 10.0.10.85.

<input type="time" id="txtTime" value="" />

However, the same behavior does NOT occur for input[type="datetime"] and input[type="datetime-local"] elements.

Note - this freezing behavior does not occur in WebWorks applications that do not use bbUI.js. Confirmed by testing the following example:

<html> 
    <body>
        Time: <input type="time" id="txtTime" value=""/>
    </body>
</html>
Member

tneil commented Mar 17, 2013

Weird.. I'm not doing anything special with the time input than any other input on focus

https://github.com/blackberry/bbUI.js/blob/master/src/plugins/_bb10_textInput.js#L65

I also had issues with the time input... Sometimes when I moved the hour the minutes where also moving. Also, the element doesn't react to click event triggered from the app. I needed this because I didn't actually need an input, but rather just to trigger the dialog and and then read the selected time from the hidden input. It would be nice that all "enhanced" inputs to react at internal click event to show the associated dialog.

Wanted to follow up and say after updating to the most recent version of bbUI 0.9.6.26* this problem went away.

There must have been some black voodoo magic in the old bbUI that was exposing a Webkit bug.

Pro: problem doesn't exist now.
Con: it could come back until we understand what WebKit is unhappy about.

Member

tneil commented Mar 20, 2013

ok... I'll close this for now and can re-open it if needed

@tneil tneil closed this Mar 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment