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)
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
RPopupallow any interaction, mainly due to afaik the.ol-overlaycontainer-stopeventclassname on the overlay...What happens now is that clicking on a
RPopuptriggers theRMaponClick..I'm taking from the example: https://mmomtchev.github.io/rlayers/#/popups
The
RFeaturedoes take an onClick event, however, this is just to open theRPopup(<RPopup trigger="click" ...)Perhaps I should use
ROverlayinstead, but i'd expect a popup element to work the same, especially when it has the option oftrigger="click", AND the docs do say it extends Overlay (https://mmomtchev.github.io/rlayers/api/#rpopup)