Closed
Description
It seems that Firefox does not fire mouseenter
/mouseleave
events on the document, so the new <svelte:document on:mouseenter/mouseleave>
does not work there. It looks like they are fired on document.body
, and they are also fired there on Chrome.
I know the whole point of <svelte:document>
was to allow attaching these specific event handlers, but that's not cross-platform. The sanest thing might be to say 'ha, whoops, well don't use that' and to introduce a <svelte:body>
that lets you attach handlers to the body. I'm not sure.