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

PopupFeature.js: Popup won't reopen after closing with closeBox enabled #1121

Open
YXYCZXY opened this issue Jan 14, 2025 · 1 comment
Open
Labels

Comments

@YXYCZXY
Copy link

YXYCZXY commented Jan 14, 2025

When I use PopupFeature.js and enable closeBox, the popup appears when I click the icon, and it can be closed by clicking the close button. However, when I click the icon again, the popup does not appear.
start:

image

again:does not appear

image

The issue is in the hide() method in the Popup.js file, where it should clear the features.

image

@Viglino
Copy link
Owner

Viglino commented Jan 14, 2025

Yes closing the popup only remove the popup but the feature is still selected and no more selectable (until an other one is selected).
It depends on the behavior you want in your app.

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

No branches or pull requests

2 participants