We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ad6ab commit bb0297bCopy full SHA for bb0297b
js/widgets/forms/select.custom.js
@@ -355,17 +355,12 @@ define( [
355
_decideFormat: function() {
356
var self = this,
357
$window = $.mobile.window,
358
- // Show popup container so that menuHeight will be reported correctly
359
- popupContainer = self.listbox.parent().show(),
360
selfListParent = self.list.parent(),
361
menuHeight = selfListParent.outerHeight(),
362
scrollTop = $window.scrollTop(),
363
btnOffset = self.button.offset().top,
364
screenHeight = $window.height();
365
366
- // Restore popup container's hidden state
367
- popupContainer.hide();
368
-
369
function focusMenuItem() {
370
var selector = self.list.find( "." + $.mobile.activeBtnClass + " a" );
371
if ( selector.length === 0 ) {
0 commit comments