ui-listview does not work with input

ui-listview does not work with input

BY 10 Mar 2016 Web Application Development

Hi

I’ve put an input element into an li element inside an listview. Unfortunately it seems impossible to enter text into that input box as the keyboard does not appear. As soon as I remove the “ui-listview” class it works. What’s happening here and how can that issue be resolved?

 

            <ul class=”ui-listview” id=”foo”>
                <li><input id=”bar” type=”text” ></input></li>
            </ul>

Written by