Skip to content

Overlays does not display since 9.0.0 #352

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

Closed
ElysaSrc opened this issue May 19, 2024 · 6 comments
Closed

Overlays does not display since 9.0.0 #352

ElysaSrc opened this issue May 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@ElysaSrc
Copy link

Describe the bug

Since version 9.0.0 overlay display. We can also see this on the documentation: https://vue3openlayers.netlify.app/componentsguide/overlay/#example-1-overlay-content

Example 1 is empty.

Affected version(s)

All version over 9.0.0

Expected behavior

Overlay items should be displayed.

@ElysaSrc ElysaSrc added the bug Something isn't working label May 19, 2024
@d-koppenhagen
Copy link
Collaborator

Oh, it seems like the wrong default value is passed for className. Please set it to ol-overlay-container ol-selectable. I will fix this meanwhile and release the fix with the next version

@d-koppenhagen
Copy link
Collaborator

@ElysaSrc
Copy link
Author

Thank you very much !

@ElysaSrc
Copy link
Author

There is another issue with the current update : events are not propagated when there is an overlay. If you do a scroll with your mousewheel on an overlay, the event does not propagate like it used to, and the zoom is not modified.

@d-koppenhagen
Copy link
Collaborator

This could be because stopEvent is set to true by default which was a breaking change and introduced to align with the OpenLayers API.

@d-koppenhagen
Copy link
Collaborator

Please raise new Issues if you find more. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants