Issue metadata
Sign in to add a comment
|
svg foreignObject not forwarding click event since 71
Reported by
martin.j...@gmail.com,
Dec 21
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce the problem: When generating a SVG with foreignObject, if the foreign object doesn't have "position:realtive" set, the click event on that element is not working neither text selection. if position:relative is set, then click event and text selection is working. Text is still rendered at the correct place. What is the expected behavior? In previous version (70), both scenario were working. What went wrong? foreignObject element is rendered correctly but not interaction possible with the element if no position:relative is set. Did this work before? Yes 70 Does this work in other browsers? Yes Chrome version: 71.0.3578.98 Channel: stable OS Version: OS X 10.14.2 Flash Version: You can find fiddle with exemple here: https://jsfiddle.net/76gc4oyL/ . It was working fine on chrome 70 and working fine on Firefox. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by f...@opera.com
, Dec 21Status: Duplicate (was: Unconfirmed)