innovaccer / design-system

Masala Design System (MDS) is an open-source design system built at Innovaccer. Figma file : https://www.figma.com/community/file/974368355920553546/masala-design-system-web-guidelines
https://mds.innovaccer.com
MIT License
84 stars 79 forks source link

if user clicked same value multiple times in single selection dropdown, onChange is calling multiple times #1559

Closed atifzaidi92 closed 1 year ago

atifzaidi92 commented 1 year ago

Description

Describe the issue that you're seeing. onchange is calling multiple times if user click multiple times same value

Steps to reproduce

Clear steps describing how to reproduce the issue.

  1. open the dropdown
  2. click multiple times same value
  3. onchange is calling multiple times

Expected result

What should happen? should not call onChange if user click multiple times same value

Actual result

What happened. multiple onchange called for same value

veekays commented 1 year ago

This issue has been resolved. PR link:- https://github.com/innovaccer/design-system/pull/1563