javascript - Dojo Mobile ComboBox dropdown misplaced in iOS8/Safari -


when pulling dojo mobile app on ipad ios 8, combobox dropdown doesn't placed correctly. combobox near bottom of screen (in single-page app no scrolling), , dropdown should appear above combbox. fine in browsers/devices i've tested except safari on ipad. on there, appears below combobox , scrolls other content off screen.

to confirm wasn't problem app, opened dojox/mobile combobox tests on ipad, , behave same way. in particular, dojox/mobile/tests/test_combobox-widepage.html shows best. have text-entry disabled on combobox (to keep on-screen device keyboards appearing), , can replicate in test page adding this:

ready(function () {     domattr.set(registry.byid('dropdown').textbox, 'readonly', true);                }); 

i don't know begin looking solution this. nothing in combobox.js looks wrong, makes sense since works everywhere. there quick fix can put in place, or have report bug , wait fixes?

edit: added screenshots. these of dojox/mobile/tests/test_combobox-widepage.html. click see them full-size.

as far can see, seems same issue 1 covered https://bugs.dojotoolkit.org/ticket/18317. fix available in master of repository, , available in 1.10.3. may want test fix (https://github.com/dojo/dojox/commit/86d34bcd9b6b11bf23a1ed080398a8067a4b349c ) on side.

that said, not think that, per se, fact page scrolls when opening dropdown of combobox can considered defect, nor fact dropdown shows either on top, or on bottom of input element. alternate solution mentioned above, may want see if adding registry.byid('dropdown').set("dropdownposition", ["above"]); fits better needs.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -