care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Unexpected Behaviour When Removing Multiple Selected Options

Open UdaySagar-Git opened this issue 10 months ago • 4 comments

Describe the bug When closing (deleting) multi-selected options, dropdown appear, which is a little annoying and impacts the user experience.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Edit Consultation page.
  2. Add multiple options to symptoms.
  3. Click on the x and observe the behavior. Expected behavior Dropdown should not open upon removing a selected option

Screenshots Screencast from 06-04-24 12:10:51 PM IST.webm

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

UdaySagar-Git avatar Apr 06 '24 06:04 UdaySagar-Git

can you please assign this to me

UdaySagar-Git avatar Apr 06 '24 06:04 UdaySagar-Git

@UdaySagar-Git I like to address one more issue here that when we select symptom the drop down should automatically close

ShreySinha02 avatar Apr 06 '24 20:04 ShreySinha02

@ShreySinha02 the drop down will automatically close when a single select option is selected (asymptomatic) , and it will remain unclosed when multi select option is selected

I already made related changes in #7253

UdaySagar-Git avatar Apr 06 '24 20:04 UdaySagar-Git

@UdaySagar-Git may be bubbling is the cause of this issue

ShreySinha02 avatar Apr 06 '24 20:04 ShreySinha02