knapcio / react-leaflet-pixi-overlay

A react wrapper for the awesome Pixi Overlay: https://github.com/manubb/Leaflet.PixiOverlay
27 stars 16 forks source link

Popup does not show. #19

Open hadson172 opened 2 years ago

hadson172 commented 2 years ago

My setup: react: 17.0.2 react-leaflet: 3.2.5 react-leaflet-pixi-overlay: 3.0.0 Browser: firefox


  const markers = data.map(item=> ({
    id: item._id,
    iconColor: "red",
    position: [item.latitude, item.longitude],
    popup: "Test",
    onClick: () => {

    },
    tooltip: renderToString(<ItemComponent item={item}/>),
  }))

When i am hovering over marker data the tooltip is correctly displayed. When i click on the marker nothing happens. (I would expect to see popup).

knapcio commented 2 years ago

Hi, I believe it was just fixed in the newest version. Cheers for raising the issue.

hadson172 commented 2 years ago

@knapcio Does not work

Luiz91ta commented 1 year ago

Opening the popup still doesn't work

SteinerPascal commented 1 year ago

Same problem here