LearnNewsExamplesServices
Frontmatter
id6479
titlecomponent.MagicMoveText: charsVdom class field
stateClosed
labels
enhancement
assignees[]
createdAtFeb 22, 2025, 1:18 PM
updatedAtFeb 22, 2025, 1:23 PM
githubUrlhttps://github.com/neomjs/neo/issues/6479
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 22, 2025, 1:23 PM

component.MagicMoveText: charsVdom class field

Closed v8.24.0 enhancement
tobiu
tobiu commented on Feb 22, 2025, 1:18 PM
  • Once a transition is done, replace the absolute positioned chars with the plain text string
  • Rationale: keeping the DOM minimal
tobiu added the enhancement label on Feb 22, 2025, 1:18 PM
tobiu referenced in commit 39d5f7d - "component.MagicMoveText: charsVdom class field #6479" on Feb 22, 2025, 1:19 PM
tobiu
tobiu Feb 22, 2025, 1:23 PM

https://github.com/user-attachments/assets/c30f4b06-daea-4675-a9c3-46846ec47263

=> If we are not auto-cycling, the component will end up using a minimal DOM markup.

Combined with the new measurement caching, it is quite efficient now. @yangshun

tobiu closed this issue on Feb 22, 2025, 1:23 PM
tobiu referenced in commit 4873b96 - "component.MagicMoveText: charsVdom class field #6479" on Feb 22, 2025, 1:59 PM