Button Click on DataGridTemplateColumn is working on first click when DataGridComboBoxColumn cell is opened
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
Hi,
**Problem Description:** We are facing an issue with DataGridTemplateColumn and DataGridComboBoxColumn. When DataGridComboBoxColumn cell is in edit state and ComboBox items are visible, clicking on DataGridTemplateColumn cell did not trigger Button.Click event.
**Video Reference**
https://github.com/user-attachments/assets/8bd272c5-08bf-4598-b473-1906e0fb6199
**Sample**
[DataGrid_Demo.zip](https://github.com/user-attachments/files/17295060/DataGrid_Demo.zip)
### Reproduction Steps
Step - 1 Click on any DataGridComboBoxColumn cell and enter into edit mode.
Step - 2 When ComboBox items are visible in view click on any DataGridTemplateColumn cell.
### Expected behavior
Click event should trigger on first click.
### Actual behavior
Click event is triggered after another click on the same cell.
### Regression?
_No response_
### Known Workarounds
_No response_
### Impact
_No response_
### Configuration
We have noticed the issue in both Framework (4.8) and NetCore (net60)
OS verison : Windows 11 Enterprise 22H2
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.