element-hq / element-hq/element-web
Unsuspected FocusLock behaving inside IFrame
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
When you render element-web inside an iframe and activate (open) some modal - [react-focus-lock](https://github.com/theKashey/react-focus-lock) broken main window inputs and selects (iimmediately removes focus from elements)
1. Add some inputs in the main app
2. Add iframe tag and put src to element web instance
3. Open some modal (everything which wrapped inside FocusLock component)
4. Try put focus to input oon main app
Here is issue about the same case
https://github.com/theKashey/react-focus-lock/issues/104#issuecomment-734332075
### Outcome
#### What did you expect?
Focus on all element (except inputs and selects) working as exected on main window
Inside iframe everything which around modal without focus as exected
#### What happened instead?
Focus, click not working on inputs and selects in the main window when some modal open inside iframe with element-web
### Operating system
All
### Browser information
All
### URL for webapp
_No response_
### Application version
All
### Homeserver
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.