Dropdownbox scroll bar closes the dialog box

All,
I have a dialog box and a matrix layout with some controls inside of it.
I have set autoClose = true in the dialog box so that if I click away I would close it
my matrix layout has a dropdownbox. if I click on the scroll bar, then it closes my dialog box. if I use the mouse wheel, it stays open. is this a bug or is there a work around to this? this happens every time I click on the vertical scroll bar
Similarly, if I have a date picker and I click on the datepicker to open the calendar, then the dialog closes. this event only closes the dialog the first time. if I open the dialog and click on the date picker then it works fine.
any feedback is appreciated.
thanks
Sergio

Hi Sergio,
It could be that the the Dialog somehow interprets the click event to happen outside the Dialog and thus closes it. Try to bind event listener to controls in the Dialog and then in that event handler call evt.stopImmediatePropagation() and evt.preventDefault(). Example:
"datePicker".bind("click", jQuery.proxy(function(event) {
     event.stopImmediatePropagation();
     event.preventDefault();
}, this));
I think I could reproduce your problem with DatePicker in Firefox but not in Chrome. With Dropdown I couldn't reproduce it. Here's a jsbin explaining it:
JS Bin - Collaborative JavaScript Debugging</title>  <link rel="icon" href="http://static.jsbin.…
Regards,
Kimmo
Message was edited by: Kimmo Jokinen

Similar Messages

  • Hello guys i m getting problem in date picker css in new version(21.0) firefox month & year drop down not working but its working when I close the dialog box

    when I m opning datepicker (by jquery 1.7.3 min.js) it will work on normal UI but it's dropdown not working in dialog UI after I closed the dialog the datepicker dropdown works
    and also it works in older version of firefox like 15.0

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Can't close levels dialog box by pressing ENTER key, how to fix?

    Using Windows 8.1.
    I could close the levels dialog box (CTR-L) by hitting ENTER key in CS6. Doesn't work like that in CC and I can't find a preference to change the behavior.
    Thanks in advance.

    You realise that Enter works on whatever is the active button?  That defaults to the OK button when you open Levels, and stays there if you just adjust the sliders, but will move to whatever button you click on i.e. Auto.   If you really want to use the keyboard, then hitting Shift Tab a couple of time will move you back from Auto to OK and you can then hit enter to close the dialog box.

  • I don't have my navigation bar at all. I tried to start in safe mode but I never get the dialog box the y say you should get to reset to defaults. Help?

    i don't have my navigation bar at all. I tried to start in safe mode but I never get the dialog box the y say you should get to reset to defaults. Help? I have even uninstalled and reloaded firefox
    == This happened ==
    Every time Firefox opened
    == My wife hit a button and doesn' know what happened

    See if this helps. View > Toolbars, if no check beside Navigation Bar, click on Navigation Bar to check it.
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.18; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.
    <u>'''NOTE:'''</u> Java version 1.6.0.21 has been released. It is mainly an update for developers of Java applications and most users do not need to be concerned about downloading version 1.6.0.21. <u>'''''At this time'''''</u>, the update option in existing installations of Java 1.6.0.20 are not updating to version 1.6.0.21; <u>'''''at this time'''''</u>, it must be manually downloaded and installed. According to the Java release notes:
    ''"'''Bug Fixes'''''
    ''Java SE 6 Update 21 does not contain any additional fixes for security vulnerabilities to its previous release, Java SE 6 Update 20. Users who have Java SE 6 Update 20 have the latest security fixes and do not need to upgrade to this release to be current on security fixes."'' Source: http://java.sun.com/javase/6/webnotes/6u21.html
    <u>'''Install/Update Adobe Flash Player for Firefox (aka Shockwave Flash)'''</u>: your ver. 10.0 r45; current ver. 10.1 r53 ('''important security update 2010-06-10'''; see: http://www.adobe.com/support/security/bulletins/apsb10-14.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    -exit Firefox (File > Exit)
    -''<u>In Windows,</u>'' check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -''<u>In Windows,</u>'' double-click on the Adobe Flash installer you just downloaded to install/update Adobe Flash
    -when the Flash installation is complete, start Firefox, and test the Flash installation here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version of Flash. To install/update the IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Flash ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]
    <u>'''You '''</u>~~red:<u>'''MAY'''</u>~~<u>''' need to Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. N/A; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Open the Adobe Reader installed on your system (''in Windows, Start > Program Files, find and click Adobe Reader to open''), click Help, click Check for Updates. Allow the download/update to occur. If you use this method, no need to proceed with the instructions below, <u>'''but'''</u> do look at the two bulleted items at the bottom "'''<u>NOTE for IE:</u>'''" and "Also see:". Restart Firefox and check your new version here: http://www.mozilla.com/en-US/plugincheck/
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -In Windows: check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -In Windows: double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • I have a dialog window on my iPad2 labeled iCloud Bakup -- the iPad hasn't been backed up in 4 weeks. The screen is frozen. I can't clear away the dialog box to close down iPad and I can't get to settings to make any changes there. Ideas?

    A dialog box has appeared on the screen of my iPad2 and has frozen the device so that I can't close it down or make changes to the settings. The titel is "iCloud Backup" and it reads: This iPad hasn't been backed up in 4 weeks. Backups happen when this iPad is plugged in, locked, and connected to WiFi.
    I'm not sure why it hasn't backed up but I can't do anything to clear the dialog box, turn off the device or get to any settings or apps on the device.
    Any suggestions? Please help -- I'm caring for my mother in hospice and don't have time to deal with this at the Apple Store!

    Welcome to Apple Support Communities
    Hold Sleep and Home buttons for 10 seconds until the device restarts, so you will be able to use the iPad again.
    It will try to make a backup every time your iPad is plugged to the charger and connected to a network. To prevent that this message appears soon, open Settings > iCloud > Storage & Backup, and choose Backup Now

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • When creating an event the dialog box appears I set the description & time and press save and close and nothing happens. I have reloaded lightening to no avail

    When I try to create an event I click on the date and put the information in the dialog box and click Save& Close but nothing happens. THe dialog box just stays there. I have made sure I am on the latest version of Thunderbird and Lightening. I have deleted lightening and reinstalled from the website and still the same thing.
    I checked the error log in Thunderbird and this is what it said
    Timestamp: 10/15/14 3:55:48 PM
    Error: 2014-10-15 15:55:48 gloda.datastore ERROR got error in _asyncTrackerListener.handleError(): 19: constraint failed
    Source File: resource:///modules/gloda/log4moz.js
    Line: 693

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • I cannot remove the dialog box from my ipad. It says 'not enough storage' I click on settings and close, but still there. I need help. thx

    I cannot remove the dialog box from my ipad. it says 'not enough storage'. I click on settings and close but still there. How can i remove this message? Thnx

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I click the "Tools" tab, then click the "Add-ons" tab. If I then click anywhere on the "Add-ons" dialog box, the dialog box immediately closes. I can't install plug-ins or add-ons. However, this happens only with my account. Other users have no such p

    I click the "Tools" tab, then click the "Add-ons" tab. If I then click anywhere on the "Add-ons" dialog box, the dialog box immediately closes. I can't install plug-ins or add-ons. However, this happens only with my account. Other users have no such problem. I have also tried going to the "Add-ons" dialogue box through "Tools" then "Options." I still cannot get into the "Add-ons" tab; the dialog box closes. I have tried using the keyboard instead of the mouse; same problem.
    == This happened ==
    Every time Firefox opened
    == I am unsure what caused it. I have tried re-installing firefox.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • The dialog box open twice when open file from the server

    I use the following code to download/open file from the server:
    <%
    String filename = "MengxianhuiDocTest.doc";
    String filepath = "D:\\";
    response.setContentType("APPLICATION/OCTET-STREAM");
    response.setHeader("Content-Disposition",
    ??attachment; filename=\"" + filename + "\"");
    java.io.FileInputStream fileInputStream =
    new java.io.FileInputStream(filepath + filename);
    int i;
    while ((i=fileInputStream.read()) != -1) {
    out.write(i);
    fileInputStream.close();
    out.close();
    %>
    If the application runs, the Open or Save dialog box display.When I select open the file,
    the dialog box will display twice.
    Pls help me.
    Thanks.

    thx
    but I tried it and it did't work.
    The dialog box also display twice.

  • When I right click on a link to open in new tab and move my cursor into the dialog box the box dissapears this is new in the last 24 hours.

    I'm using Firefox 8.0 on Suse 11.4 today is 11/28/11 the past 24 hours I've been experiencing this: I always try to right click on links and open in new tab, lately when I do so and move the cursor into the dialog box the box disappears. Also if I online shop say for clothing, if I want to change size's when I click the button to do so nothing happens when I want to scroll down and pick a different size, (I can hi-light the size and click on it then when the window scrolls back up the default size is still there. This isn't consistent with all web sites.

    You can middle-click a link to open the link in a new tab.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Updating ipod touch to os5.1  got an error message "cannot connect the ipod touch because the pairing record is missing"   don't know what this means or how to fix but am stuck, only option is to answer ok and close the error box.  Any ideas?

    Updating ipod touch to os5.1  got an error message "cannot connect the ipod touch because the pairing record is missing"   don't know what this means or how to fix but am stuck, only option is to answer ok and close the error box.  Any ideas?

    #1
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod               
    Iphone 5 lightning port charging problem - SOLUTION!
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar
    #1.1 n/a because the errror message overrides it
    #2 see #1
    #3 iOS: Device not recognized in iTunes for Mac OS X
    But could be caused by #1
    #4 Covered by previous ones
    #5 Obvious jpegs are photos and thus will not sync as videos. Also see:
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod
    iTunes: Frequently asked questions about viewing and syncing videos
    #6 iOS: If you can't back up or restore from a backup in iTunes
    First #7 See #6
    Second #7 You have so many other problems resolve those first
    #8 Resolve other problems first

  • I no longer get the dialog box when trying to delete rejected photos.

    I have always used the Delete Rejected Photos. . . selection to get rid of the photos I have flagged as rejected. However, after the rejected photos are shown, the dialog box no longer appears with the option to Delete from Disc or to Remove from the LR Catalog. I don't know if this problem began with LR 3.4 or before, but the timing was close. It isn't that I don't know how to use the function because I have been using it for years. Any help would be appreciated.

    Since I had 358 photos out of almost 2800 flagged as 'rejected' I did not
    want to loose all my work. I selected the rejected photos and then flagged
    them all with a 'yellow' color. I then displayed all photos with a yellow
    flag and 'Un-rejected' them. I highlighted a small amount of them, about 30,
    and rejected them and then went to the Delete Rejected photos. the pop-up
    came up and I was able to delete them. Since the rest of my yellow flagged
    photos were still showing I rejected another chunk of them and so on till
    they were all deleted. When trying to delete a group that had published
    photos within I got a box warning me that if I deleted them the published
    ones could no longer be managed by LR. That is alright with me. It would be
    nice if the software would somehow flag those that had been published. All
    the dialog box said was that one or more of the group had been published. I
    did not know which.
    Thanks again for expert help!
    Jack

  • Adding scroll bar to a text box

    Is there a way to add a scroll bar to a text box? I am designing a website using ID (in the web view) which I am then giving to a web person to implement. I have one page that is longer than the others, where I would like to be able to scroll the text. I would really appreciate a step by step instruction on how to add a scroll bar to this text box.
    Thank you so much.

    The point is that exporting to Flash makes creating the webpage in ID seamless.  I am not familiar with a
    way to import an ID file into a Dreamweaver HTML.  ID relies on pages that get converted to
    frames on the Flash timeline which makes switching between pages, if you know enough ActionScript, a breeze.
    However I did find this link which outlines some compatibility between ID and DW:
    http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WS82C401A9-E844-40d5-B9B4-5 40CA374B0C6.html
    Message was edited by: markerline

  • How do I save passwords; the dialog box has no yes option

    Whenever I fill in a user name then fill in a password, the dialog box appears asking if I want to save the password. There is a drop down box offering two options, to save or not to save. I choose to save which is in fact the default. However, there is no place to confirm or click ‘yes’ or ‘OK’, just the small ‘x’ in the top right corner. I click that and the box goes away, but the password is not saved!

    You can try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    It is possible that there is a problem with the key3.db and signons.sqlite files that store the encrypted names and passwords in Firefox.<br />
    Rename the key3.db and signons.sqlite files in the Firefox profile folder.<br />
    You can add .old to the file names (key3.db.old and signons.sqlite.old) or move them to another folder to make it possible to undo the action.<br />
    You need to set a new Master Password after renaming or deleting key3.db and all currently saved passwords are lost.<br />
    If that has worked then you can remove the renamed files that are no longer needed.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

Maybe you are looking for

  • Unable to Login to Creative Cloud App

    Photoshop CC was crashing every time I attempted to open a new file inside of the application (Photoshop would stay open as long as did not attempt to open a file.) I uninstalled PS CC. When I attempted to reinstall. I received the following message

  • I forgot my password for my account and no longer have email address associated with it

    I used to have an id for itunes that was associated with my old email.  I no longer have the old email and I cannot access my music that was associated with that account.  I tried to change the password but I am not able to.  for some reason when I p

  • How to pass Parameter to Oracle Report from portal

    Dear All I create a report use Oracle Report, and the file name is "Account.rdf" This report have a start date parameter and a end date parameter. I put this report to the report server, and then add a new entry to the cgicmd.dat file, so i enter the

  • Difference between form and shop paper

    Hi Guys, I want to know the difference between Form, smart form and shop paper. Our problem is one form is there, so user want to modify the form with some changes, they have provided the form name. i have checked in the customization and able to fin

  • Spanish Language Programming

    Where does a person or people add sugestions to improve the service? Like if Verizon wants to attract more Spanish speaking customers, they need to improve their line up. Many channels on DTV are not available with FIOS. Sur Peru being one of them. I