Results 100 comments of Philipp Fritsche

Could you add information how browsers handle selections, e.g. given a collapsed selection was placed outside the Shadow tree per `mousedown` and then the mouse is dragged into the Shadow...

It looks like this will require some research. If you press down the left mouse button inside the shadow tree and drag the mouse outside, the selection spans over the...

> a *working* simple implementation How does the browser handle selections on shadow DOM? If there is an edge case that we don't handle yet, that's okay, but we need...

Thanks for opening an issue on this. It's one of our TODOs: https://github.com/testing-library/user-event/blob/8215e2eebb13134cd0600cc8a2481725c16cd30d/src/utils/focus/selection.ts#L202-L203

First of all: Thanks for contributing to this library. This is much appreciated :heart: I think we should add tests to `tests/clipboard/*.ts` testing just the interaction that happens on the...

@Christian24 Thanks for your work on this. I'll review again with fresh eyes and try to figure out if - based on what we learned here - there are some...

Thanks for opening this issue. We should aim to support Shadow DOM throughout all APIs. There are actually some lines in the internal utils to explicitly handle shadow hosts, but...

> I understand your concern. However, I do not understand why this is okay for `type()` then. I'm not sure we'd introduce `.type()` today. And if we did, I don't...

I'm not sure if this would be a good idea. Implementing something on `blur` implies that the user has to perform another interaction before the callback is triggered e.g. clicking...