Closed jnyrup closed 11 years ago
Closed with SHA: 303808e5e11a64dbddab44464d3a1cf414749d31
There are unfortunately still some issues with focus: See this example: http://jsfiddle.net/QdVvZ/ Click anywhere on the first datebox to see the focus jumping around. Click on the icon on the second datebox and when the calendar pops up, the focus wrong.
damn. ok, working on it.
The second datebox now works perfect, but the first one still has an issue with focus switching between the inner and outer div, at least for me. I'm using Linux Mint 15 mate + Chrome 28.0.1500.52
You mean the quite obvious pause between it "fixing" itself? Yeah, forgot I hacked that in - I'll try and truly fix it today...
Yeah, that pause. (Even though it does go: right => wrong => right)
... and nice to see that the projects is getting in shape again :)
Perhaps this issue should be reopened?
When using jqm 1.3.1+ a datebox is wrapped inside an extra div. This causes .ui-focus to be applied to the wrong element, when focusing a datebox.
Without knowing the exact scope of w.d.wrap in _create, .parent() could be added to w.d.wrap for both oldStyle and newStyle to reference the right element.