twobin / twobin/react-lazyload

not working if container element is in fullscreen mode

Open
#355 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.