Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Toggle "Single" hangs UI
#6
(04-19-2023, 12:51 PM)Tim Curtis Wrote: I'm able to repro this and it appears to be an issue with the click event bubbling up through the DOM.

Try adding 

e.stopPropagation(); 

to scripts-library.js

Code:
       case 'single':
           e.stopPropagation();
           $('#menu-check-single').toggle();
           var toggle = $('#menu-check-single').is(":visible") ? '1' : '0';
           sendMpdCmd('single ' + toggle);
           break;

If that works on your end I'll add it to the check mark cases in upcoming 8.3.2 bugfix release.

Hi Tim,

yes, it works, but doesn't close the menu...
Reply


Messages In This Thread
Toggle "Single" hangs UI - by Nutul - 04-18-2023, 09:13 PM
RE: Toggle "Single" hangs UI - by Tim Curtis - 04-18-2023, 09:23 PM
RE: Toggle "Single" hangs UI - by Nutul - 04-18-2023, 10:13 PM
RE: Toggle "Single" hangs UI - by Nutul - 04-19-2023, 10:16 AM
RE: Toggle "Single" hangs UI - by Tim Curtis - 04-19-2023, 12:51 PM
RE: Toggle "Single" hangs UI - by Nutul - 04-19-2023, 02:46 PM
RE: Toggle "Single" hangs UI - by Tim Curtis - 04-19-2023, 07:51 PM
RE: Toggle "Single" hangs UI - by Nutul - 04-19-2023, 08:26 PM

Forum Jump: