react-focus-lock icon indicating copy to clipboard operation
react-focus-lock copied to clipboard

[Shadow root][Iframe] The text should be selectable inside <FocusLock/>

Open JuliaMV opened this issue 7 months ago • 3 comments

The content of FocusLock that opened inside of shadow root or iframe is not available for user-selection.

How to reproduce:

  1. Open the demo sandbox (with iframe) https://codesandbox.io/p/devbox/focus-lock-with-modal-forked-vmr9sl?workspaceId=ws_BCJDEdyBHvVP9ekjRYa7KV
  2. Click "Open modal" button
  3. Try select some text to copy it

https://github.com/user-attachments/assets/fb32d6c3-aaf1-4e85-a138-8e99f67700cf

JuliaMV avatar Mar 26 '25 08:03 JuliaMV