carbon
carbon copied to clipboard
fix: switch to onClick from onMouseDown in modal components
Closes #16846
switches the outside click detector event in Modal
and ComposedModal
from onMouseDown
to onClick
in order to alleviate some strange behaviors noticed with components built on ListBox
inside of modal components.
Changelog
Changed
- switched
onMouseDown
event toonClick
inModal
andComposedModal
Testing / Reviewing
- view the steps / description in the issue #16846 and follow the same steps against these changes