John Rayes

Results 54 issues of John Rayes

This one proved difficult to track down, mainly because I thought the autofocus code was broken. After trying to fix it, I trike `MutationObserver`. That showed the DOM written twice....

lib
fix

### Motivation Nodes are frequently created, updated, and destroyed, but would always use the same styles. Repeated calls to `getComputedStyle()` for the same or similar elements were causing noticeable performance...

lib
performance

Splicing reindexes arrays, which is a behavior that we do not want in a hot loop. My performance profiling reveals that this is thee only instance of splicing arrays that...

dom.toggle() triggers a reflow because it calls Element.getClientRects()

lib

Still appears to work fine this way. Also added more tests.

lib