none
V8 infobox close button triggers layer click event RRS feed

  • General discussion

  • Hello,

    I have observed that when the close button of an infobox is over the click area of a pushpin, pressing the close button will then also trigger the pushpin to open (I handle this using the onclick of the layer). This is not desired as this should require two distinct clicks to ensure user intent. Any idea on how I could prevent this from happening?

    Regards,

    ak

    Wednesday, July 5, 2017 9:53 PM

All replies

  • I've just tried to reproduce this and wasn't able to. I've tested both the main release branch and the experimental branch. I also tested against in IE11, Edge, Chrome and Firefox and all of them work as expected; the infobox closed without any of the underlying pushpin events being fired. 

    Do you have a code sample that reproduces the issue you are seeing.


    [Blog] [twitter] [LinkedIn]

    Wednesday, July 5, 2017 11:21 PM
  • I'll see if I can produce a separate example project to illustrate it. 
    Thursday, July 6, 2017 1:32 PM