Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than 700 re renderings #1097

Open
premshetty opened this issue Nov 25, 2022 · 1 comment
Open

More than 700 re renderings #1097

premshetty opened this issue Nov 25, 2022 · 1 comment

Comments

@premshetty
Copy link

FullScreen button creates more than 700 re-renders per click

here is the video
https://www.awesomescreenshot.com/video/12779474?key=39f6b743210d3e57e0d6f01c55413f01

when clicking on the fullscreen button it creates this much of renders

 const fulscreenMapbtn = document.getElementsByClassName('gm-fullscreen-control')
    fulscreenMapbtn[0]?.addEventListener("click", () => {
        return console.log('clicked ')
    });
@bhavyag54
Copy link

assign this to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants