Customize Dropdown closes after selecting values
Application Type
Traditional Web

Page Structure- Page contains a Parent and child webblock in menu 

Problem- after selection of values from the dropdown it is closing every time. It needs to stay open until we click on anywhere outside. We have used Scripts for this Customize dropdown. This behavior is undesirable and not sure how to debug this.

Some observations that might cause  this issues -

1) JavaScript is used to give calls to parent and child webblocks.( Eg. Parent Class - .ssmr-unit-list , Child Class - 'ssmr-unit-list-active')

2) Webblocks are getting refreshed after every selection

3) Script for calling classes as below

  $('.unit-select-all input:checkbox').on('click',function(){
        $('.ssmr-unit-list').addClass('ssmr-unit-list-active');
    });

4) classes have been noticed to changed after selections.


Any help on this will be appreciated 

Thanks in advance

Hello @Devayani Pawar 

Can you share the OML?

Regards,

Márcio C.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.