- From: Michael Aufreiter <notifications@github.com>
- Date: Sun, 14 Dec 2025 08:28:38 -0800
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 14 December 2025 16:28:43 UTC
michael left a comment (w3c/editing#518) After giving this some more thought, there's one problem with aligning popovers to the native selection: - What happens when when the focus changes (e.g. you click into an input field inside a "Create link" popover)? The native selection is somewhere else then, so where will the popover align now? The current solution with additional selection spans allows that the internal selection can have an unfocused state (we still render the span, and use it to position the popover), while having the native selection somewhere else (like in an input field inside the popover) So I guess for my particular use case, being able to anchor a popover against the native selection might not be enough. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/518#issuecomment-3651606652 You are receiving this because you are subscribed to this thread. Message ID: <w3c/editing/issues/518/3651606652@github.com>
Received on Sunday, 14 December 2025 16:28:43 UTC