twobin / twobin/react-lazyload
not working if container element is in fullscreen mode
Open
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Description
My code just like this
```
function A () {
const [imgs] = React.useState(Array(20).fill('').map((_, i) => i))
const fullscreen = React.useCallback(() => {
const container = document.querySelector('#container');
container.requestFullscreen();
}, []);
return (
{imgs.map((img, index) => (
key={index}>
))}
)
}
```
when container element on fullscreen mode, LazyLoad will not working
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.