activeElement
implementation causing crashes when used within vitest
#456
Labels
activeElement
implementation causing crashes when used within vitest
#456
Hi
I know there are other libs at play and there could be various fixes but I'll just outline what I think is going on.
Happy to look at other options, if this is expected behaviour.
Essentially:
happy-dom
env (document) per test file<button/>
within that component.activeElement
.happy-dom
trying to resolve thatactiveElement
(which has now been removed from the dom) against the existing document root.I think the behaviour I'm seeing stems from this change and was wondering whether it was worth putting a guard around it?
Thanks,
Iain
The text was updated successfully, but these errors were encountered: