Frontmatter
| id | 4950 |
| title | component.Base: getDomRect() => inconsistent return values |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Sep 27, 2023, 8:19 PM |
| updatedAt | Sep 27, 2023, 8:20 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4950 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 27, 2023, 8:20 PM |
actually i was not aware that we can now convert
DOMRects into JSON. even both ways => we do get them back inside the app worker.getDomRect()inside the app worker now returnsDOMRectinstances for arrays of ids andutil.Rectangleinstances for non-arrays.i think we can simplify the logic quite a bit.
will give it a shot, but could use a review @ExtAnimal.