Reproduction steps:
1. Open the attached project "Bug-INotifyValueChanged"
2. Click "Tests/INotifyValueChanged Bug Window" in the menu bar
3. Expand the "Foldout" in the TestWindow
4. Click the "Value" checkbox in the TestWindow
Expected result: The Console logs "Foldout 'ValueChanged' raised with value: True" and "Toggle 'ValueChanged' raised with value: True"
Actual result: The Console logs: "Foldout 'ValueChanged' raised with value: True", "Toggle 'ValueChanged' raised with value: True" and "Foldout 'ValueChanged' raised with value: True"
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Reproducible on: macOS 13.4.1 (Intel), Windows 10 (user’s)
Not reproducible on: No other environment tested
Note: not reproducible if not using RegisterValueChangedCallback with the "Foldout" - comment lines 23-28 of TestWindow.cs