Loading ...
Sorry, an error occurred while loading the content.
 

Re: [svg-developers] Click through the transparent part of an SVG element

Expand Messages
  • Erik Dahlström
    ... This bug has been fixed in the latest public Opera 10 snapshot:
    Message 1 of 5 , Apr 28, 2009
      On Thu, 27 Nov 2008 10:45:49 +0100, Vladimir Agafonkin <agafonkin@...> wrote:

      > Hi guys!
      >
      > I'm implementing a mapping library (somehow similar to Google Maps)
      > and have a very frustrating problem with SVG - if I have several
      > independent SVG elements on an HTML page and one covers a part of the
      > other, shapes in that part don't receive click events. It behaves like
      > this in FF3 and Opera9 but surprisingly works fine in Safari 3.
      >
      > Here's a simple test case to demostrate what I mean:
      > http://agafonkin.com/files/etc/svgbug.html (try clicking the red path)
      >
      > Because of this problem I was forced to reimplement vector
      > functionality in my library so that all paths have one root SVG
      > element, but calculating shared viewBox is very inconvenient, besides
      > on high zoom levels this viewBox can become too big and it stops
      > rendering completely after some point.
      >
      > I would appreciate any help on the matter. Thanks a lot in advance!

      This bug has been fixed in the latest public Opera 10 snapshot:

      http://my.opera.com/desktopteam/blog/2009/04/24/automated-crash-reporting-and-more-detailed-changelog

      Cheers
      /Erik

      --
      Erik Dahlstrom, Core Technology Developer, Opera Software
      Co-Chair, W3C SVG Working Group
      Personal blog: http://my.opera.com/macdev_ed
    Your message has been successfully submitted and would be delivered to recipients shortly.