fix(properties-panel): improve element detection timing and value handling in properties panel

This commit is contained in:
Juergen Kunz
2025-06-16 17:56:14 +00:00
parent 3d1948b93e
commit c64b106569
3 changed files with 25 additions and 11 deletions

View File

@ -85,4 +85,16 @@ These test various scenarios:
- Complex data type display and editing
- Element detection inside dees-demowrapper
- Error handling for problematic values
- Deep nesting and shadow DOM traversal
- Deep nesting and shadow DOM traversal
# Fixed Demo Value Overwriting (COMPLETED)
## Issue:
Properties panel was overwriting values set by demo functions
## Solution:
1. Changed from attribute binding (`value=`) to property binding (`.value=`)
2. This prevents browser from firing input events during initialization
3. Added proper number parsing for number inputs
4. Increased initial wait to 200ms for demo wrappers to complete
5. Simplified select element handling to use property binding