fix(properties-panel): improve element detection timing and value handling in properties panel
This commit is contained in:
@ -25,9 +25,11 @@ The properties panel had timing issues detecting rendered elements because:
|
||||
|
||||
### Code Flow
|
||||
1. Dashboard renders element demo into viewport using `render(anonItem.demo(), viewport)`
|
||||
2. Properties panel waits, then searches recursively for the element instance
|
||||
3. If not found, retries with delays to handle async rendering
|
||||
4. Once found, extracts and displays element properties
|
||||
2. Properties panel waits 200ms for demo wrappers to run and set initial values
|
||||
3. Searches recursively for the element instance
|
||||
4. If not found, retries with delays to handle async rendering
|
||||
5. Once found, extracts and displays element properties
|
||||
6. Uses property binding (`.value=`) instead of attribute binding to prevent input events during initialization
|
||||
|
||||
## Demo Tools
|
||||
|
||||
|
Reference in New Issue
Block a user