Popups showing immediately -- want them all closed by default
See original GitHub issueRight now when looping through markers and setting popups, they all show up open by default. How can we make them so they are closed until the marker is clicked?
My current code:
<MglMarker
v-for="item in items"
v-bind:key="item.id">
<MglPopup>
<div>
Stuff
</div>
</MglPopup>
</MglMarker>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Block or allow pop-ups in Chrome - Computer - Google Support
By default, Google Chrome blocks pop-ups from automatically showing up on your screen. When a pop-up is blocked, the address bar will be...
Read more >How to Stop Pop-Ups in Windows 10 and 11 - MakeUseOf
Seeing pop-ups and not sure where they came from? Here's a quick guide to diagnosing and dealing with Windows pop-ups.
Read more >Popups and window methods - The Modern JavaScript Tutorial
To close the popup: use close() call. Also the user may close them (just like any other windows). The window.
Read more >How do I enable or disable pop-ups in web browsers? - IU KB
Click to select either Turn Off Pop-up Blocker or Turn On Pop-up Blocker. By default, Internet Explorer displays pop-ups that appear as a...
Read more >Block pop-up ads and windows in Safari - Apple Support
Some pop-ups and ads have fake buttons that resemble a close ... Always install the latest software updates for all of your Apple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kevinelliott! What you think would be the best approach to this issue? I’m thinking of adding
showed
prop,false
by default, or, maybe, try to utilizev-show
directive, although it’s looks non-trivial to implement.I agree with @kevinelliott, and used the same method he described above to close all of the popups immediately. Some of my users have hundreds of markers load on a map, and it’s pretty inefficient to close them all every time the map loads.