Skip to content

Rpopup onClick not working #341

@TrySpace

Description

@TrySpace

Perhaps more a feature request, but I'd like/expected the ability to have an Rpopup onClick event. (even though typescript seems to accept the onClick as valid, it won't get triggered)
Neither will any child element components of the RPopup allow any interaction, mainly due to afaik the .ol-overlaycontainer-stopevent classname on the overlay...

What happens now is that clicking on a RPopup triggers the RMap onClick..

I'm taking from the example: https://mmomtchev.github.io/rlayers/#/popups

The RFeature does take an onClick event, however, this is just to open the RPopup ( <RPopup trigger="click" ... )

Perhaps I should use ROverlay instead, but i'd expect a popup element to work the same, especially when it has the option of trigger="click", AND the docs do say it extends Overlay (https://mmomtchev.github.io/rlayers/api/#rpopup)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions